Aerys\Http1Driver class Http1Driver implements Aerys\HttpDriver

Summary

Properties

Methods

Properties

Methods

setup — public function setup(callable $parseEmitter, callable $responseWriter)
No documentation.
Type Parameter Description Default Value
callable $parseEmitter No documentation. none
callable $responseWriter No documentation. none
filters — public function filters(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 function writer(Aerys\InternalRequest $ireq): Generator
No documentation.
Type Parameter Description Default Value
Aerys\InternalRequest $ireq No documentation. none
upgradeBodySize — public function upgradeBodySize(Aerys\InternalRequest $ireq)
No documentation.
Type Parameter Description Default Value
Aerys\InternalRequest $ireq No documentation. none
parser — public function parser(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
responseInitFilter — public function responseInitFilter(Aerys\InternalRequest $ireq)
No documentation.
Type Parameter Description Default Value
Aerys\InternalRequest $ireq No documentation. none
chunkedResponseFilter — public function chunkedResponseFilter(Aerys\InternalRequest $ireq): Generator

Apply chunk encoding to response entity bodies

Type Parameter Description Default Value
Aerys\InternalRequest $ireq No documentation. none