Qore WebSocketHandler Module Reference  1.3

Introduction to the WebSocketHandler Module

The WebSocketHandler module provides a handler to be used with the HttpServer module to provide server-side RFC-6455 based WebSocket services to clients.

To use this module, use "%requires WebSocketHandler" and "%requires HttpServer" in your code.

All the public symbols in the module are defined in the WebSocketHandler namespace.

The main classes provided in this module are:

WebSocketHandler Release History

Version 1.3

Version 1.2

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

Version 1.1

  • bug fix: do not delete the connection object when the connection closes, remove it so it can go out of scope naturally to avoid excess exceptions in the server code
  • added the WebSocketConnection::connectionClosed() method which is called when the connection is closed

Version 1.0