<?php 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.
handshake
Join 1,000+ others and never miss out on new tips, tutorials, and more.