Minimal structural WebSocket surface used by the client.
Close callback installed by the client.
Error callback installed by the client.
Message callback installed by the client.
Open callback installed by the client.
Readonly
Browser-compatible ready-state number (0 connecting, 1 open).
0
1
Closes the connection.
Optional
Sends one text frame.
Minimal structural WebSocket surface used by the client.