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: 4 months 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 (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-29T05:27:06.000Z (about 8 years ago)
- Last Synced: 2025-01-25T08:48:17.135Z (6 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

[](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
```