Method
WebSocket::isBinary
Whether the message receive() returned last was binary, rather than text.
Description#
public WebSocket::isBinary(): boolReturn values#
bool
See also#
WebSocket::receiveThe next text or binary message, or null once the connection is closed.