ktor
1.6.8
3.0.0
3.0.0-rc-1
3.0.0-beta-2
3.0.0-beta-1
2.3.12
2.2.4
2.0.3
1.6.8
ktor-client-ios
/
io.ktor.client.engine.ios.certificates
/
PinnedCertificate
/
Companion
/
new
new
fun
new
(
pattern
:
String
,
pin
:
String
)
:
PinnedCertificate
Content copied to clipboard
Create a new Pin
Return
PinnedCertificate
The new pin
Parameters
pattern
The hostname pattern
pin
The hash to pin