Swoole\Event::write

(PHP 5 >= 5.2.0, PHP 7, 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