wsproxy:用 Haskell 编写的 Websockets 代理服务器

时间:2021-06-23 13:56:10
【文件属性】:
文件名称:wsproxy:用 Haskell 编写的 Websockets 代理服务器
文件大小:10KB
文件格式:ZIP
更新时间:2021-06-23 13:56:10
Haskell 代理服务器 用 Haskell 编写的 Websockets 代理服务器。 设计为作为特殊用例的独立服务器运行。 它被构建为充当 Heroku 服务器和浏览器之间的代理。 由于 Heroku 使用随机负载均衡器,因此不可能在具有 >1 个服务器的客户端和 Heroku 应用程序之间建立 websocket 连接。 将这个代理放在中间,它将把 websocket 请求转换为 HTTP。 设置 对于大多数用例,在单 dyno Heroku 实例上运行 wsproxy 可能就足够了。 像这样: git clone https://github.com/nathankot/wsproxy cd wsproxy heroku create --stack=cedar --buildpack https://github.com/begriffs/heroku-buildpack-ghc.git
【文件预览】:
wsproxy-master
----Setup.hs(46B)
----.dockerignore(54B)
----src-executable()
--------Main.hs(20B)
----cabal.config(4KB)
----src()
--------WSProxy()
----Dockerfile(588B)
----LICENSE(1KB)
----Procfile(23B)
----README.md(3KB)
----Makefile(104B)
----app.json(285B)
----fig.yml(96B)
----.gitignore(49B)
----wsproxy.cabal(1KB)

网友评论