url

fun url(block: URLBuilder.() -> Unit)

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


fun 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 existing value in the URLBuilder.


fun url(urlString: String)

Sets the HttpRequestBuilder.url from urlString.