Skip to content

Latest commit

 

History

History
33 lines (17 loc) · 597 Bytes

File metadata and controls

33 lines (17 loc) · 597 Bytes

WebSocketMessageType

WebSocketMessageType.TEXT

Text message received

WebSocketMessageType.BINARY

Binary message received

WebSocketMessageType.OPEN

Connected to the server

WebSocketMessageType.CLOSE

Connection was closed for any reason, or broke

WebSocketMessageType.ERROR

Connection encountered an error

WebSocketMessageType.PING

See the standard about ping and pong.

WebSocketMessageType.PONG

Your ping has been answered.

Note that incoming pings are answered automatically.

WebSocketMessageType.FRAGMENT