Ktor
Toggle table of contents
3.3.x
Select version
3.4.x
3.3.x
3.2.x
3.1.x
3.0.x
2.3.x
2.2.x
2.0.x
1.6.x
darwin
Target filter
darwin
Switch theme
Search in API
Skip to content
Ktor
ktor-client-darwin
/
io.ktor.client.engine.darwin.certificates
/
PinnedCertificate
/
Companion
/
new
new
fun
new
(
pattern
:
String
,
pin
:
String
)
:
PinnedCertificate
(
source
)
Create a new Pin
Report a problem
Return
PinnedCertificate
The new pin
Parameters
pattern
The hostname pattern
pin
The hash to pin