Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Client-side subscriptions

Updated on July 20, 2021

Learn how a client can use Messaging Service to subscribe to WebSocket events.

For a client, such as a browser component to subscribe to WebSocket event, it must use a Messaging Service API. For example, to obtain updated data from a server or to access events from the server, the data or events are sent to the browser through message schema payloads. The Messaging Service API is used to connect the browser to the server WebSockets.

For more information on the Messaging Service API, see subscribe(filter, messageHandler, id, contextName).

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us