Home
Softono
hyperlight

hyperlight

Open source Clojure
21
Stars
3
Forks
0
Issues
1
Watchers
8 years
Last Commit

About hyperlight

A performance-focused HTTP reverse proxy

Platforms

Web Self-hosted

Languages

Clojure

Links

Hyperlight

Clojars Project

A performance-focused HTTP reverse proxy written with Aleph.

Usage

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.