withSocketConfigCustomizer

open fun withSocketConfigCustomizer(socketConfigCustomizer: Consumer<SocketConfig.Builder>): HttpComponentsHttpClientBuilder

Return a new HttpComponentsHttpClientBuilder that applies additional customization to the underlying org.apache.hc.core5.http.io.SocketConfig.Builder.

Return

a new HttpComponentsHttpClientBuilder instance

Parameters

socketConfigCustomizer

the customizer to apply