WebSocket.readNext

Waits for the next message and reads it as a generic data-type.

class WebSocket
final
bool
readNext
(
T
)
(
out T value
)

Return Value

Type: bool

True if the message was received, false otherwise (Ex. connection closed.)

Meta