Method
WebSocket::isClosed
Whether the connection is closed: end() was called, the client said goodbye, or the connection ended.
Description#
public WebSocket::isClosed(): boolReturn values#
bool
See also#
WebSocket::endClose the connection: send a close frame with$codeand$reasonand end the sending side, once.