Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.Opens in a new tab

For information on migrating to InterSystems IRISOpens in a new tab, see Why Migrate to InterSystems IRIS?

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