\apex\app\msgwebsocket

Handles all web socket functionality, such as dispatching messages to connected browsers.

Summary

Methods
Properties
Constants
dispatch()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

dispatch()

dispatch(\apex\app\interfaces\msg\WebSocketMessageInterface  $msg) 

Send message via Web Socket.

Send message to internal Web Socket server, which is passed to necessary user's web browsers, and allows DOM elements within the page to be updated in real-time (eg. new notification, etc.)

Parameters

\apex\app\interfaces\msg\WebSocketMessageInterface $msg

The web socket message to send.