https://github.com/maxcountryman/hyperlight
A performance-focused HTTP reverse proxy
https://github.com/maxcountryman/hyperlight
aleph clojure http-proxy netty proxy-server reverse-proxy
Last synced: 3 months ago
JSON representation
A performance-focused HTTP reverse proxy
- Host: GitHub
- URL: https://github.com/maxcountryman/hyperlight
- Owner: maxcountryman
- License: epl-1.0
- Created: 2017-04-29T00:17:25.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-23T22:38:05.000Z (about 8 years ago)
- Last Synced: 2025-04-12T07:45:11.322Z (3 months ago)
- Topics: aleph, clojure, http-proxy, netty, proxy-server, reverse-proxy
- Language: Clojure
- Homepage:
- Size: 37.1 KB
- Stars: 21
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hyperlight
[](https://clojars.org/hyperlight)
A performance-focused HTTP reverse proxy written with [Aleph](http://aleph.io).
## Usage
Creating a proxy is simple with Hyperlight.
```clj
(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](http://localhost:3000).