.wsGetcount()
Description
wsGetcount allows you to get the number of messages on a websocket.
Parameters
wsGetcount takes no parameters.
Usage
ws_id = "url".newWebsocket()
if ws_id.wsHasnew() (
count = ws_id.wsGetcount()
// find how many messages you recieved
loop count (
message = ws_id.wsGetnext()
// handle the message
)
)
Last updated
Was this helpful?