Swoole\WebSocket\Server->isEstablished (int $fd)
The fd of the WebSocket connection, it can be get from the frame.
if success, it returns TRUE, otherwise it returns FALSE.
Check if the connection is established and passed handshake stage.
Join 1,000s others and never miss out on new tips, tutorials, and more.