PHP Класс Amp\Artax\HttpTunneler

Показать файл Открыть проект

Открытые методы

Метод Описание
tunnel ( resource $socket, string $authority ) : Amp\Promise Establish an HTTP tunnel to the specified authority over this socket

Приватные методы

Метод Описание
doRead ( HttpTunnelStruct $struct )
doWrite ( HttpTunnelStruct $struct )
enableWriteWatcher ( HttpTunnelStruct $struct )
isSocketDead ( $socketResource )
parseSocketData ( HttpTunnelStruct $struct, $data )

Описание методов

tunnel() публичный метод

Establish an HTTP tunnel to the specified authority over this socket
public tunnel ( resource $socket, string $authority ) : Amp\Promise
$socket resource
$authority string
Результат Amp\Promise