hyperlight
所属分类:代理服务器
开发工具:Clojure
文件大小:0KB
下载次数:0
上传日期:2017-06-23 22:38:05
上 传 者:
sh-1993
说明: 以性能为中心的HTTP反向代理,
(A performance-focused HTTP reverse proxy,)
文件列表:
LICENSE (11514, 2017-06-23)
project.clj (646, 2017-06-23)
src/ (0, 2017-06-23)
src/hyperlight/ (0, 2017-06-23)
src/hyperlight/http_proxy.clj (4351, 2017-06-23)
src/hyperlight/middleware.clj (1636, 2017-06-23)
test/ (0, 2017-06-23)
test/hyperlight/ (0, 2017-06-23)
test/hyperlight/http_proxy_test.clj (2121, 2017-06-23)
test/hyperlight/middleware_test.clj (1330, 2017-06-23)
# 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).
近期下载者:
相关文件:
收藏者: