Package-level declarations

This package holds the classes that define the HTTP client and its configuration settings.


Link copied to clipboard
class HttpClient(adapter: HttpClientPort, val settings: HttpClientSettings = HttpClientSettings(), val handler: HttpHandler? = null) : Closeable

Client to use other REST services.

Link copied to clipboard
interface HttpClientPort
Link copied to clipboard
data class HttpClientSettings(val baseUrl: URL? = null, val contentType: ContentType? = null, val useCookies: Boolean = true, val headers: Headers = Headers(), val insecure: Boolean = false, val sslSettings: SslSettings? = null, val authorization: Authorization? = null)