Aerys\HttpDriver interfaceHttpDriver

Summary

Properties

Methods

Methods

setup —public functionsetup(callable$parseEmitter,callable$responseWriter)
No documentation.
Type Parameter Description Default Value
callable $parseEmitter No documentation. none
callable $responseWriter No documentation. none
filters —public functionfilters(Aerys\InternalRequest$ireq,array$userFilters):array
No documentation.
Type Parameter Description Default Value
Aerys\InternalRequest $ireq No documentation. none
array $userFilters No documentation. none
writer —public functionwriter(Aerys\InternalRequest$ireq):Generator
No documentation.
Type Parameter Description Default Value
Aerys\InternalRequest $ireq No documentation. none
upgradeBodySize —public functionupgradeBodySize(Aerys\InternalRequest$ireq)
No documentation.
Type Parameter Description Default Value
Aerys\InternalRequest $ireq No documentation. none
parser —public functionparser(Aerys\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.

Type Parameter Description Default Value
Aerys\Client $client No documentation. none