api

http4k / org.http4k.routing / reverseProxy

reverseProxy

fun reverseProxy(vararg hostToHandler: Pair<String, HttpHandler>): RoutingHttpHandler

Simple Reverse Proxy which will split and direct traffic to the appropriate HttpHandler based on the content of the Host header