ktor
2.2.4
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-darwin-legacy
/
io.ktor.client.engine.darwin.certificates
/
LegacyPinnedCertificate
/
Companion
/
new
new
fun
new
(
pattern
:
String
,
pin
:
String
)
:
LegacyPinnedCertificate
Create a new Pin
Return
LegacyPinnedCertificate
The new pin
Parameters
pattern
The hostname pattern
pin
The hash to pin