Package Reference
WebSocket Events
Push events and response types for the WebSocket connection
Push Events
Listen with client.on(event, callback).
challenge:request
Prop
Type
challenge:accepted
Prop
Type
challenge:denied
Prop
Type
match:board_move
Prop
Type
match:game_over
Prop
Type
device_auth
Prop
Type
friend:request
Prop
Type
friend:accepted
Prop
Type
friend:denied
Prop
Type
friend:removed
Prop
Type
Response Events
Listen with client.on("response:...", handler).
response:subscribe
Prop
Type
response:watch_device_auth
Prop
Type
response:match_subscribe
Prop
Type
Error payload
Prop
Type