url
fun HttpRequestBuilder.url(
block: URLBuilder.() -> Unit
): Unit
Executes a block that configures the URLBuilder associated to this request.
fun HttpRequestBuilder.url(
scheme: String = "http",
host: String = "localhost",
port: Int = DEFAULT_PORT,
path: String = "/",
block: URLBuilder.() -> Unit = {}
): Unit
Sets the url using the specified scheme, host, port and path.
fun HttpRequestBuilder.url(urlString: String): Unit
Sets the HttpRequestBuilder.url from urlString.
fun HttpRequestBuilder.url(url: Url): Unit
fun HttpRequestBuilder.url(url: URL): URLBuilder
Sets the HttpRequestBuilder.url from url.