Aerys\Http2Driver classHttp2Driver implementsAerys\HttpDriver

Summary

Properties

Methods

Properties

Methods

setup —public functionsetup(callable$emit,callable$write)
No documentation.
Type Parameter Description Default Value
callable $emit No documentation. none
callable $write 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
responseInitFilter —public functionresponseInitFilter(Aerys\InternalRequest$ireq)
No documentation.
Type Parameter Description Default Value
Aerys\InternalRequest $ireq No documentation. none
dispatchInternalRequest —protected functiondispatchInternalRequest(Aerys\InternalRequest$ireq,string$url,array$pushHeaders =null)
No documentation.
Type Parameter Description Default Value
Aerys\InternalRequest $ireq No documentation. none
string $url No documentation. none
array $pushHeaders No documentation. null
writer —public functionwriter(Aerys\InternalRequest$ireq):Generator
No documentation.
Type Parameter Description Default Value
Aerys\InternalRequest $ireq No documentation. none
writeData —public functionwriteData(Aerys\Client$client,$data,$stream,$last)
No documentation.
Type Parameter Description Default Value
Aerys\Client $client No documentation. none
mixed $data No documentation. none
mixed $stream No documentation. none
mixed $last No documentation. none
writePing —public functionwritePing(Aerys\Client$client)
No documentation.
Type Parameter Description Default Value
Aerys\Client $client No documentation. none
writeFrame —protected functionwriteFrame(Aerys\Client$client,$data,$type,$flags,$stream =0)
No documentation.
Type Parameter Description Default Value
Aerys\Client $client No documentation. none
mixed $data No documentation. none
mixed $type No documentation. none
mixed $flags No documentation. none
mixed $stream 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,$settings =""):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
mixed $settings No documentation. ""