A performance-focused HTTP reverse proxy written with Aleph.
Creating a proxy is simple with Hyperlight.
(require '[hyperlight.http-proxy :as http-proxy])
(def example-proxy
(http-proxy/create-handler
{:url "http://www.example.com/"}))
(http-proxy/start-server example-proxy {:port 3000})
The proxy server will now be listening on localhost:3000.
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |