Package-level declarations

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(), 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 accept: List<ContentType> = emptyList(), val useCookies: Boolean = true, val headers: Headers = Headers(), val insecure: Boolean = false, val sslSettings: SslSettings? = null, val authorization: Authorization? = null, val followRedirects: Boolean = false)