.wsGetnext()

Description

wsGetnext allows you to get the next message from a websocket and then discards it.

Parameters

wsGetnext takes no parameters.

Usage

ws_id = "url".newWebsocket()

if ws_id.wsHasnew() (
  message = ws_id.wsGetnext()
  // handle the message
)

Last updated