<?php Swoole\WebSocket\Server->disconnect (int $fd)
The fd of the WebSocket connection, it can be get from the frame.
if success, it returns TRUE, otherwise it returns FALSE.
Disconnect the connection from server side.
Join 1,000s others and never miss out on new tips, tutorials, and more.