swoole_event_del

Remove all event callback functions of a socket

Description

bool swoole_event_del(int $fd)

Parameters

fd

Return Values

Returns true on success or false on failure.