CrtHttpEngineConfig

Describes configuration options for the CRT HTTP engine. Use Default for the standard configuration or use Builder to build a custom configuration.

Types

Link copied to clipboard
Link copied to clipboard
object Companion

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 certificateFile and certificatesDirectory.

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?

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

Link copied to clipboard

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.

Inherited properties

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

Functions

Link copied to clipboard