Qore WebSocketClient Module Reference
1.6
|
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
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