bigone-eng / websocket-proto

The proto file of BigONE WebSocket API

Home Page:https://open.big.one/docs/spot_pusher.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WebSocket proto file

For now BigONE's spot websocket api supports the proto protcol.

With Protocol Buffers, you can get many benefits:

  • message size is 10 times smaller than the json format.
  • faster decoding.
  • less memory usage.
  • Strong typing.

You can receive the messages faster as the message body is much more smaller.

How to use

Just set the Sec-WebSocket-Protocol header to proto.

Then sever will send you binary messages, and you should decode them with the websocket.proto file.

About

The proto file of BigONE WebSocket API

https://open.big.one/docs/spot_pusher.html