PHP 클래스 Amp\Artax\HttpTunneler

파일 보기 프로젝트 열기: amphp/artax

공개 메소드들

메소드 설명
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