Swoole\Event::write

(PECL swoole >= 1.9.0)

Swoole\Event::writeWrite data to the socket.

Description

public static Swoole\Event::write(string $fd, string $data): void

Parameters

fd

data

Return Values