vertx / io.vertx.kotlin.ext.web.client / WebClientOptions

# WebClientOptions

`fun WebClientOptions(alpnVersions: Iterable<HttpVersion>? = null, connectTimeout: Int? = null, crlPaths: Iterable<String>? = null, crlValues: Iterable<Buffer>? = null, decoderInitialBufferSize: Int? = null, defaultHost: String? = null, defaultPort: Int? = null, enabledCipherSuites: Iterable<String>? = null, enabledSecureTransportProtocols: Iterable<String>? = null, followRedirects: Boolean? = null, forceSni: Boolean? = null, http2ClearTextUpgrade: Boolean? = null, http2ConnectionWindowSize: Int? = null, http2KeepAliveTimeout: Int? = null, http2MaxPoolSize: Int? = null, http2MultiplexingLimit: Int? = null, idleTimeout: Int? = null, initialSettings: Http2Settings? = null, jdkSslEngineOptions: JdkSSLEngineOptions? = null, keepAlive: Boolean? = null, keepAliveTimeout: Int? = null, keyStoreOptions: JksOptions? = null, localAddress: String? = null, logActivity: Boolean? = null, maxChunkSize: Int? = null, maxHeaderSize: Int? = null, maxInitialLineLength: Int? = null, maxPoolSize: Int? = null, maxRedirects: Int? = null, maxWaitQueueSize: Int? = null, maxWebsocketFrameSize: Int? = null, maxWebsocketMessageSize: Int? = null, metricsName: String? = null, openSslEngineOptions: OpenSSLEngineOptions? = null, pemKeyCertOptions: PemKeyCertOptions? = null, pemTrustOptions: PemTrustOptions? = null, pfxKeyCertOptions: PfxOptions? = null, pfxTrustOptions: PfxOptions? = null, pipelining: Boolean? = null, pipeliningLimit: Int? = null, poolCleanerPeriod: Int? = null, protocolVersion: HttpVersion? = null, proxyOptions: ProxyOptions? = null, receiveBufferSize: Int? = null, reuseAddress: Boolean? = null, reusePort: Boolean? = null, sendBufferSize: Int? = null, sendUnmaskedFrames: Boolean? = null, soLinger: Int? = null, ssl: Boolean? = null, tcpCork: Boolean? = null, tcpFastOpen: Boolean? = null, tcpKeepAlive: Boolean? = null, tcpNoDelay: Boolean? = null, tcpQuickAck: Boolean? = null, trafficClass: Int? = null, trustAll: Boolean? = null, trustStoreOptions: JksOptions? = null, tryUseCompression: Boolean? = null, useAlpn: Boolean? = null, usePooledBuffers: Boolean? = null, userAgent: String? = null, userAgentEnabled: Boolean? = null, verifyHost: Boolean? = null): WebClientOptions`

A function providing a DSL for building io.vertx.ext.web.client.WebClientOptions objects.

### Parameters

`alpnVersions` -

`connectTimeout` -

`crlPaths` -

`crlValues` -

`decoderInitialBufferSize` -

`defaultHost` -

`defaultPort` -

`enabledCipherSuites` -

`enabledSecureTransportProtocols` -

`followRedirects` - Configure the default behavior of the client to follow HTTP 30x redirections.

`forceSni` -

`http2ClearTextUpgrade` -

`http2ConnectionWindowSize` -

`http2KeepAliveTimeout` -

`http2MaxPoolSize` -

`http2MultiplexingLimit` -

`idleTimeout` -

`initialSettings` -

`jdkSslEngineOptions` -

`keepAlive` -

`keepAliveTimeout` -

`keyStoreOptions` -

`localAddress` -

`logActivity` -

`maxChunkSize` -

`maxHeaderSize` -

`maxInitialLineLength` -

`maxPoolSize` -

`maxRedirects` -

`maxWaitQueueSize` -

`maxWebsocketFrameSize` -

`maxWebsocketMessageSize` -

`metricsName` -

`openSslEngineOptions` -

`pemKeyCertOptions` -

`pemTrustOptions` -

`pfxKeyCertOptions` -

`pfxTrustOptions` -

`pipelining` -

`pipeliningLimit` -

`poolCleanerPeriod` -

`protocolVersion` -

`proxyOptions` -

`receiveBufferSize` -

`reuseAddress` -

`reusePort` -

`sendBufferSize` -

`sendUnmaskedFrames` -

`soLinger` -

`ssl` -

`tcpCork` -

`tcpFastOpen` -

`tcpKeepAlive` -

`tcpNoDelay` -

`tcpQuickAck` -

`trafficClass` -

`trustAll` -

`trustStoreOptions` -

`tryUseCompression` -

`useAlpn` -

`usePooledBuffers` -

`userAgent` - Sets the Web Client user agent header. Defaults to Vert.x-WebClient/&lt;version&gt;.

`userAgentEnabled` - Sets whether the Web Client should send a user agent header. Defaults to true.

`verifyHost` -