build

open fun build(settings: HttpClientSettings): CloseableHttpClient

Build a new HttpClient instance with the given settings applied.

Return

a new HttpClient instance

Parameters

settings

the settings to apply