Skip to content

Instantly share code, notes, and snippets.

View gollilla's full-sized avatar
🏠
Working from home

gollilla gollilla

🏠
Working from home
  • Japan
View GitHub Profile
// To subscribe to an event, pass this JSON text to the client through the WebSocket:
{
"body": {
"eventName": "NameOfEvent" // Replace with an event name listed below
},
"header": {
"requestId": "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxxxxxxx", // UUID
"messagePurpose": "subscribe",
"version": 1, // Protocol version (currently 1 as-of 1.0.2)