swoole_event_write

Write data to a socket

Description

bool swoole_event_write(int $fd, string $data)

Parameters

fd

data

Return Values

Returns true on success or false on failure.