Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/t-mullen/multihack-wire
The streaming wire protocol for Multihack
https://github.com/t-mullen/multihack-wire
binary protocol realtime stream
Last synced: 15 days ago
JSON representation
The streaming wire protocol for Multihack
- Host: GitHub
- URL: https://github.com/t-mullen/multihack-wire
- Owner: t-mullen
- Created: 2017-04-11T11:03:37.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-29T05:27:06.000Z (over 7 years ago)
- Last Synced: 2024-11-25T12:34:51.925Z (about 2 months ago)
- Topics: binary, protocol, realtime, stream
- Language: JavaScript
- Size: 49.8 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# multihack-wire
![Travis CI](https://travis-ci.org/RationalCoding/multihack-wire.svg?branch=master)
[![Standard - JavaScript Style Guide](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)Multihack's custom streaming wire protocol.
Designed for sending many large files in random chunk sizes, but also lots of tiny edits.
Needs to be paired with something like `stream-throttle` or it will overload a connection.
## protocol
### `request project`
```
<00000000>`
8b 32b xb 32b xb
```### `provide file`
```
<10000000>`
8b 32b xb 32b xb
```### `change file`
```
<01000000>`
8b 32b xb 32b xb
```### `delete file`
```
<11000000>`
8b 32b xb
```