TcpTransport

constructor(configureTls: TLSConfigBuilder.() -> Unit? = null)

Parameters

configureTls

optional hook applied to ktor's TLSConfigBuilder during the TLS handshake, after the SNI server name is set and before platform trust is configured. Use it to trust a private or self-signed CA for this connection only. Ignored for non-TLS endpoints.


constructor()