WebSocket API

WebSocket protocol is a new HTML5 protocol, which provides full-duplex communication between web browsers and web servers. Connection can be established after one handshake. Web server can then push business logic data to web browsers.Advantages:

  • Request header is small in size (around 2 bytes) during communication
  • Web servers and clients can send data bi-directionaly
  • Since there is no need to create and delete TCP connection repeatedly, it saves resources

We strongly recommend developers to use Websocket API to access market related information and trading depth.

Should you have any questions, feel free to contact our support team.

Getting Started
提示

请先登录

客服400-888-6636
在线咨询 在线咨询
在线留言 发起提问
聊天室
OKCoin聊天室
请遵守聊天室规则!详情>>
客服400-888-6636
聊天室规则 X