.newWebsocket()

# .newWebsocket()

Description

newWebsocket allows you to create a new websocket connection.

Parameters

newWebsocket takes no parameters.

Usage

ws = "url:port".newWebsocket()
// creates a new websocket connection and returns the id of the websocket connection allowing for other websocket commands to interact with it

ws = "rotur.mistium.com:443".newWebsocket()
// only supports wss connections, you cannot use ws connections in osl

Last updated