For the complete documentation index, see llms.txt. This page is also available as Markdown.

wsGetnext

⚠️ Not implemented in the current OSL CLI.

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