api

http4k / org.http4k.filter / ClientFilters / SetBaseUriFrom

SetBaseUriFrom

fun SetBaseUriFrom(uri: Uri): Filter

Sets the base uri (host + base path) on an outbound request. This is useful to separate configuration of remote endpoints from the logic required to construct the rest of the request.