| CreateWebSocketDep | - |
| TestCreateWebSocket | Creates a deterministic in-memory CreateWebSocket for testing. |
| WebSocket | WebSocket with auto-reconnect. |
| WebSocketConnectError | An error that occurs when a connection cannot be established due to a network error. Fires before onclose. |
| WebSocketConnectionCloseError | An error that occurs when the connection is closed by the server. |
| WebSocketConnectionError | An error that occurs when an established connection encounters an issue (e.g., failure to send data). Fires before onclose. |
| WebSocketOptions | Options for creating WebSocket. |
| WebSocketSendError | An error that occurs when trying to send data but WebSocket is not available or is in the CONNECTING state. |