A http socket relay supporting two clients
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
package.json
server.js

README.md

MiddleMan

MiddleMan is a http socket relay supporting two clients. It supports recording and data playback.

By default, it listens on port 5700. The data is relayed in the following format to the client:

{
    time,
    data
}

Using -o option you can run the server in the one-sided mode in which it will relay back the data to the same client.

Also, -p option will run the server in the playback mode in which it will stream (with the same timing periods) a pre-recorded stream to the client.