url

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


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

Sets the url using the specified scheme, host, port and path. Pass null to keep the existing value in the URLBuilder.


fun HttpRequestBuilder.url(urlString: String)

Sets the HttpRequestBuilder.url from urlString.


Sets the HttpRequestBuilder.url from url.

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

Sets the HttpRequestBuilder.url from url.