Qore WebSocketUtil Module Reference 1.6
Loading...
Searching...
No Matches

Introduction to the WebSocketUtil Module

The WebSocketUtil module provides common client and server support for RFC-6455 based WebSocket protocol implementations in Qore.

This module is used by the following modules:

  • WebSocketClient: provides an event-driven client API for connecting to WebSocket servers
  • WebSocketHandler: provides an interface to the Qore HttpServer module for implementing server-side WebSocket services

To use this module directly, use "%requires WebSocketClient" in your code, otherwise it's recommended to use one of the higher-level module listed above.

The main functionality provided by this module:

WebSocketUtil Module Release History

v1.6

v1.5

  • added RSV bit support for WebSocket extensions (issue 5065)
    • added WS_RSV1, WS_RSV2, WS_RSV3 constants
    • added rsv1, rsv2, rsv3 fields to WsMsgInfo
    • added optional rsv_bits parameter to ws_encode_message()
    • ws_read_message() now extracts RSV bits

v1.4.1

  • added support for continuation frames (issue 4073)

v1.4

v1.3

v1.2

  • fixed a bug parsing and generating the websocket close status code (issue 1216)

v1.1

v1.0