Package com.hexagonkt.http.client
This package holds the classes that define the HTTP client and its configuration settings.
Types
Link copied to clipboard
class HttpClient(adapter: HttpClientPort, val settings: HttpClientSettings = HttpClientSettings()) : Closeable
Content copied to clipboard
Client to use other REST services.
Link copied to clipboard
Link copied to clipboard
data class HttpClientSettings( val baseUrl: URL = URL("http://localhost:2010"), val contentType: ContentType? = null, val useCookies: Boolean = true, val headers: HttpFields<Header> = HttpFields(), val insecure: Boolean = false, val sslSettings: SslSettings? = null)
Content copied to clipboard