ReceiveWebSocket (Socket function): Difference between revisions
Jump to navigation
Jump to search
Line 36: | Line 36: | ||
==Usage notes== | ==Usage notes== | ||
Received data may be masked by the sender. Masked data is always unmasked using the senders masking key before it is returned to the application. | |||
==Examples== | ==Examples== | ||
==See also== | ==See also== | ||
{{Template:Socket:ReceiveWebSocket footer}} | {{Template:Socket:ReceiveWebSocket footer}} |
Revision as of 17:19, 13 August 2019
Receive Web Socket framed message (Socket class)
[Introduced in Model 204 7.8 βeta]
This page is under construction.
Syntax
%opCode = socket:ReceiveWebSocket( string)
Syntax terms
%opCode | op code is a number indicating the type of web socket frame received. Numbers 0-7 are non-control frames. Numbers 8-15 are control frames.
| ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
socket | Socket object | ||||||||||||||||||
string | string |
Usage notes
Received data may be masked by the sender. Masked data is always unmasked using the senders masking key before it is returned to the application.