PHP Class Amp\Artax\HttpTunneler

Afficher le fichier Open project: amphp/artax

Méthodes publiques

Méthode Description
tunnel ( resource $socket, string $authority ) : Amp\Promise Establish an HTTP tunnel to the specified authority over this socket

Private Methods

Méthode Description
doRead ( HttpTunnelStruct $struct )
doWrite ( HttpTunnelStruct $struct )
enableWriteWatcher ( HttpTunnelStruct $struct )
isSocketDead ( $socketResource )
parseSocketData ( HttpTunnelStruct $struct, $data )

Method Details

tunnel() public méthode

Establish an HTTP tunnel to the specified authority over this socket
public tunnel ( resource $socket, string $authority ) : Amp\Promise
$socket resource
$authority string
Résultat Amp\Promise