Companion
Extensions
Link copied to clipboard
operator fun HttpRequestBuilder.Companion.invoke(block: URLBuilder.() -> Unit): HttpRequestBuilder
Content copied to clipboard
Executes a block that configures the URLBuilder associated to thisrequest.
operator fun HttpRequestBuilder.Companion.invoke(scheme: String? = null, host: String? = null, port: Int? = null, path: String? = null, block: URLBuilder.() -> Unit = {}): HttpRequestBuilder
Content copied to clipboard
Constructs a HttpRequestBuilder from URL information: scheme, host, port and path and optionally further configures it using block. Pass null
to keep existing value in the URLBuilder.
operator fun HttpRequestBuilder.Companion.invoke(url: URL): HttpRequestBuilder
Content copied to clipboard
Constructs a HttpRequestBuilder from url.