1. Help for Partners
  2. WebSocket - App partners

Upon Message

A generic message from Doshii. Commonly used for "pong" responses to your "ping" heartbeats, or "ping" requests for 2-way heartbeats.

EVENT message

Example

Doshii Pong Response Event

{
    "type": "message",
    "data": { "doshii": { "pong": 1539153237588, "version": "3.2.0" } }
}

 

Doshii Ping Request Event

{
    "type": "message",
    "data": { "doshii": { "ping": 1539153237588, "version": "3.2.0" } }
}