Rate this page:

allowWebSocketConnections

Copy URL
allowWebSocketConnections(): 

void

Allows accepting inbound connections to ensure WebSocket bidirectional exchange. Add the following line to your scenario code to use the function:

require(Modules.WebSocket);

Returns

  • type:

    void