Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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).