invoke

Executes a block that configures the URLBuilder associated to this request.

Report a problem


operator fun HttpRequestBuilder.Companion.invoke(    scheme: String? = null,     host: String? = null,     port: Int? = null,     path: String? = null,     block: URLBuilder.() -> Unit = {}): HttpRequestBuilder

Constructs a HttpRequestBuilder from URL information: scheme, host, port and path and optionally further configures it using block. Pass null to keep the existing value in the URLBuilder.

Report a problem

operator fun <Error class: unknown class>.invoke(url: URL): <Error class: unknown class>

Constructs a HttpRequestBuilder from url.

Report a problem