Package wisp. client
Types
Link copied to clipboard
Envoy configuration provider per endpoint that wisp clients can customize to their needs.
Link copied to clipboard
data class HttpClientConfig @JvmOverloads constructor(connectTimeout: Duration?, writeTimeout: Duration?, readTimeout: Duration?, pingInterval: Duration?, callTimeout: Duration?, maxRequests: Int?, maxRequestsPerHost: Int?, maxIdleConnections: Int?, keepAliveDuration: Duration?, ssl: HttpClientSSLConfig?, unixSocketFile: String?, protocols: List<String>?, retryOnConnectionFailure: Boolean?)
Content copied to clipboard
Link copied to clipboard
data class HttpClientEndpointConfig @JvmOverloads constructor(url: String?, envoy: HttpClientEnvoyConfig?, clientConfig: HttpClientConfig)
Content copied to clipboard
Link copied to clipboard
data class HttpClientEnvoyConfig @JvmOverloads constructor(app: String, env: String?)
Content copied to clipboard
Link copied to clipboard
class HttpClientFactory @JvmOverloads constructor(sslLoader: SslLoader, sslContextFactory: SslContextFactory, okHttpClientCommonConfigurator: OkHttpClientCommonConfigurator, envoyClientEndpointProvider: EnvoyClientEndpointProvider?, okhttpInterceptors: List<Interceptor>?)
Content copied to clipboard
Link copied to clipboard
data class HttpClientsConfig @JvmOverloads constructor(hostConfigs: <ERROR CLASS><String, HttpClientConfig>, endpoints: Map<String, HttpClientEndpointConfig>)
Content copied to clipboard
Link copied to clipboard
data class HttpClientSSLConfig(cert_store: CertStoreConfig?, trust_store: TrustStoreConfig)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Impersonate TCP-style ServerSocketFactory over UNIX domain sockets.
Link copied to clipboard
Impersonate TCP-style SocketFactory over UNIX domain sockets.
Functions
Link copied to clipboard
fun HttpClientConfig.applyDefaults(other: HttpClientConfig): HttpClientConfig
Content copied to clipboard