takeFrom

fun HttpRequestBuilder.takeFrom(
    request: HttpRequest
): HttpRequestBuilder

Mutates this copying all the data from another request using it as base.

fun HttpRequestBuilder.takeFrom(
    request: HttpRequestData
): HttpRequestBuilder

Sets the HttpRequestBuilder from request.