Aerys\Http2Driver class Http2Driver implements Aerys\HttpDriver

Summary

Properties

Methods

Properties

Methods

setup — public function setup(callable $emit, callable $write)
No documentation.
Type Parameter Description Default Value
callable $emit No documentation. none
callable $write 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
responseInitFilter — public function responseInitFilter(Aerys\InternalRequest $ireq)
No documentation.
Type Parameter Description Default Value
Aerys\InternalRequest $ireq No documentation. none
dispatchInternalRequest — protected function dispatchInternalRequest(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 function writer(Aerys\InternalRequest $ireq): Generator
No documentation.
Type Parameter Description Default Value
Aerys\InternalRequest $ireq No documentation. none
writeData — public function writeData(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 function writePing(Aerys\Client $client)
No documentation.
Type Parameter Description Default Value
Aerys\Client $client No documentation. none
writeFrame — protected function writeFrame(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 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, $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. ""