https://github.com/heineiuo/seashell
:shell: Distributed message queue based on Splashdb (https://github.com/heineiuo/splashdb).
https://github.com/heineiuo/seashell
http-proxy nat protocol websocket
Last synced: 9 days ago
JSON representation
:shell: Distributed message queue based on Splashdb (https://github.com/heineiuo/splashdb).
- Host: GitHub
- URL: https://github.com/heineiuo/seashell
- Owner: heineiuo
- License: mit
- Created: 2015-10-29T14:00:05.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-06-26T02:56:32.000Z (almost 7 years ago)
- Last Synced: 2025-05-08T21:13:40.666Z (13 days ago)
- Topics: http-proxy, nat, protocol, websocket
- Language: JavaScript
- Homepage: https://heineiuo.github.io/seashell
- Size: 505 KB
- Stars: 20
- Watchers: 5
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Seashell
[](https://gitter.im/heineiuo/seashell?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[](https://www.npmjs.com/package/seashell)
[](https://www.npmjs.org/package/seashell)
[](https://travis-ci.org/heineiuo/seashell)Implement HTTP protocol over WebSocket. Used for NAT, proxy server and others.
---
## Document
#### SeashellGateway
```js
import { SeashellGateway } from 'seashell'const gateway = new SeashellGateway(( req, res ) => {
res.write('Hello World from gateway server')
res.end()
})gateway.listen(3333)
```#### SeashellClient
```js
import { SeashellClient } from 'seashell'const client = new SeashellClient(( req, res ) => {
res.write('Hello World from client')
res.end()
}, {
serverAddress: 'ws://127.0.0.1:3333?appId=APPID&appName=APPNAME&appSecret=APPSECRET'
})
```## Contact
QQ Group: 310433696
## LICENSE
MIT License.