PHP Class Amp\Artax\BufferWriter

Inheritance: implements Amp\Artax\Writer
Afficher le fichier Open project: amphp/artax

Méthodes publiques

Méthode Description
write ( resource $socket, string $dataToWrite ) : Amp\Promise Write specified $dataToWrite to the $socket destination stream

Private Methods

Méthode Description
doWrite ( )
enableWriteWatcher ( )
fail ( Exception $e )
generateWriteFailureMessage ( )
isSocketDead ( )
succeed ( )

Method Details

write() public méthode

Write specified $dataToWrite to the $socket destination stream
public write ( resource $socket, string $dataToWrite ) : Amp\Promise
$socket resource
$dataToWrite string
Résultat Amp\Promise