PHPDaemon\SockJS\Methods\Generic::out PHP Method

out() public method

Output some data
public out ( string $s, boolean $flush = true ) : boolean
$s string String to out
$flush boolean
return boolean Success
    public function out($s, $flush = true)
    {
        if ($this->heartbeatTimer !== null) {
            Timer::setTimeout($this->heartbeatTimer);
        }
        return parent::out($s, $flush);
    }