http4k / org.http4k.filter / ClientFilters / SetHostFrom
fun SetHostFrom(uri:
Uri
):
Filter
Sets the host on an outbound request. This is useful to separate configuration of remote endpoints from the logic required to construct the rest of the request.