withDefaultRequestConfigCustomizer

open fun withDefaultRequestConfigCustomizer(defaultRequestConfigCustomizer: Consumer<RequestConfig.Builder>): HttpComponentsHttpAsyncClientBuilder

Return a new HttpComponentsHttpAsyncClientBuilder that applies additional customization to the underlying org.apache.hc.client5.http.config.RequestConfig.Builder used for default requests.

Return

a new HttpComponentsHttpAsyncClientBuilder instance

Parameters

defaultRequestConfigCustomizer

the customizer to apply