withSocketConfigCustomizer

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

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

Return

a new HttpComponentsClientHttpRequestFactoryBuilder instance

Parameters

socketConfigCustomizer

the customizer to apply