ElephantIO\Engine\AbstractSocketIO::write PHP Method

write() abstract public method

Write the message to the socket
abstract public write ( integer $code, string $message = null )
$code integer type of message (one of EngineInterface constants)
$message string Message to send, correctly formatted
    public abstract function write($code, $message = null);