PHP 인터페이스 Aerys\HttpDriver

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

공개 메소드들

메소드 설명
filters ( InternalRequest $ireq, array $userFilters ) : array
parser ( Client $client ) : Generator Note that you *can* rely on keep-alive timeout terminating the Body with a ClientException, when no further data comes in. No need to manually handle that here.
setup ( callable $parseEmitter, callable $responseWriter )
upgradeBodySize ( InternalRequest $ireq )
writer ( InternalRequest $ireq ) : Generator

메소드 상세

filters() 공개 메소드

public filters ( InternalRequest $ireq, array $userFilters ) : array
$ireq InternalRequest
$userFilters array
리턴 array

parser() 공개 메소드

Note that you *can* rely on keep-alive timeout terminating the Body with a ClientException, when no further data comes in. No need to manually handle that here.
public parser ( Client $client ) : Generator
$client Client
리턴 Generator

setup() 공개 메소드

public setup ( callable $parseEmitter, callable $responseWriter )
$parseEmitter callable
$responseWriter callable

upgradeBodySize() 공개 메소드

public upgradeBodySize ( InternalRequest $ireq )
$ireq InternalRequest

writer() 공개 메소드

public writer ( InternalRequest $ireq ) : Generator
$ireq InternalRequest
리턴 Generator