Read Binary

Returns the next available message. If no message is available, the node waits for either a new message or for the specified timeout to elapse.

If the WebSocket session becomes invalid, then the node stops waiting and returns an error.

1378

Inputs/Outputs

datatype_icon

websocket session in

Unique value that identifies the websocket session.

datatype_icon

timeout

Time, in seconds, that this node waits for a new message to be available before returning a timeout error. A value of -1 indicates to wait indefinitely.

datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Default value: No error

datatype_icon

websocket session out

Unique value that identifies the websocket session.

Use this value to refer to this websocket session in subsequent node calls.
datatype_icon

binary response

The next message available as binary data.

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior