Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Path to the certificate file in PEM format. Mutually exclusive with certificatePem. Can be used independently or together with certificatesDirectory.

Link copied to clipboard

Certificate Authority content in PEM format. Mutually exclusive with caFile and caDir.

Link copied to clipboard

Path to the certificates directory containing PEM files. Mutually exclusive with certificatePem. Can be used independently or together with certificateFile.

Link copied to clipboard
var clientBootstrap: ClientBootstrap?

Set the ClientBootstrap to use for the engine. By default it is a shared instance.

Link copied to clipboard

Set the amount of data that can be buffered before reading from the socket will cease. Reading will resume as data is consumed.

Link copied to clipboard

Maximum number of open connections

Link copied to clipboard
var tlsCipherPreference: TlsCipherPreference

TLS cipher suite preference for connections. Controls which cipher suites are available during TLS negotiation.

Link copied to clipboard

Whether to verify the peer's certificate during TLS handshake. When false, accepts any certificate (insecure, for testing only).

Inherited properties

Link copied to clipboard
Link copied to clipboard
open override var connectionIdleTimeout: Duration
Link copied to clipboard
open override var connectTimeout: Duration
Link copied to clipboard
open override var hostResolver: HostResolver
Link copied to clipboard
open override var maxConcurrency: UInt
Link copied to clipboard
open override var proxySelector: ProxySelector
Link copied to clipboard
open override var socketReadTimeout: Duration
Link copied to clipboard
open override var socketWriteTimeout: Duration
Link copied to clipboard
Link copied to clipboard
open override var tlsContext: TlsContext

Inherited functions

Link copied to clipboard
open override fun tlsContext(block: TlsContext.Builder.() -> Unit)