url

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

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

Report a problem


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

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

Report a problem


fun url(urlString: String)(source)

Sets the HttpRequestBuilder.url from urlString.

Report a problem