Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 22 days 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 (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-06-23T22:38:05.000Z (over 7 years ago)
- Last Synced: 2024-10-01T08:01:20.235Z (about 1 month ago)
- Topics: aleph, clojure, http-proxy, netty, proxy-server, reverse-proxy
- Language: Clojure
- Homepage:
- Size: 37.1 KB
- Stars: 19
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hyperlight
[![Clojars Project](https://img.shields.io/clojars/v/hyperlight.svg)](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).