Skip to content

t-mullen/multihack-wire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

multihack-wire

Travis CI Standard - JavaScript Style Guide

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><filepath length><filepath><file length><file content>`
    8b           32b           xb         32b          xb

provide file

<10000000><filepath length><filepath><file length><file content>`
    8b          32b            xb        32b           xb

change file

<01000000><filepath length><filepath><payload length><json payload>`
    8b         32b            xb           32b            xb

delete file

<11000000><filepath length><filepath>`
    8b          32b           xb

About

The streaming wire protocol for Multihack

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published