![]() |
Qore WebSocketClient Module Reference
1.7
|
The WebSocketClient module provides client support for RFC-6455 based WebSocket protocol implementations in Qore.
To use this module, use "%requires WebSocketClient" in your code.
This module automatically uses the WebSocketUtil module for encoding and decoding web socket messages.
All the public symbols in the module are defined in the WebSocketClient namespace.
Currently the module provides the following classes:
Example
PING messages to be customized (issue 2887)PONG message to be sent as a unidirectional keep-alive message from the client to the server (issue 2566)Sec-WebSocket-Accept response header according to RFC6455 (issue 2062)yield option in the constructorSOCKET-NOT-OPEN errors when closing (server already closed the connection)"WebSocketClient: " to log messages