Skip to main content

This version of the product is no longer supported, and this documentation is no longer updated regularly. See the latest version of this content.Opens in a new tab

Web.SocketTest

class Web.SocketTest extends %CSP.WebSocket

Method Inventory

Methods

method OnPostServer() as %Status
Inherited description: Event handler for the PostServer event: this is invoked after closing the WebSockets Server.
method OnPreServer() as %Status
Inherited description: Event handler for the PreServer event: this is invoked before starting the WebSockets Server. Changes to the SharedConnection flag must be made here.
method Server() as %Status
Inherited description: The WebSocket Server. Use the Read() and Write() methods to receive data from, and send data to, the client. Call the EndServer() method to gracefully terminate the WebSocket Server. A WebSocket operating asynchronously (SharedConnection=1) can exit this method (using Quit) and subsequently open the WebSocket using the OpenServer() method.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab