WebSocket Client

As long as you do not use a sub-protocol, there are no specific requirements for a WebSocket client like a WebSocket-enabled browser for example.

An AS ABAP working as WebSocket server can be called over text messages and binary messages using standard methods.

If you use the SAP-specific Push Channel Protocol (PCP), the WebSocket client must apply the corresponding API. This API is available in the MIME Repository under the node /sap/public/bc/ur/sap-pcp-websocket.js as JavaScript file and can be loaded by the WebSocket client.