PHP Интерфейс Aerys\HttpDriver

Показать файл Открыть проект

Открытые методы

Метод Описание
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