write() публичный Метод

Send data to the connection. Note that it just writes to buffer that flushes at every baseloop
public write ( string $data ) : boolean
$data string Data to send
Результат boolean Success
Пример #1
0
 /**
  * Called when new piece of request's body is received.
  * @param string $c Piece of request's body.
  * @return void
  */
 public function stdin($c)
 {
     if ($c === '') {
         $this->onWrite($this->proc);
     } else {
         $this->proc->write($c);
     }
 }