PHP Interface Aerys\HttpDriver

Afficher le fichier Open project: amphp/aerys

Méthodes publiques

Méthode Description
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

Method Details

filters() public méthode

public filters ( InternalRequest $ireq, array $userFilters ) : array
$ireq InternalRequest
$userFilters array
Résultat array

parser() public méthode

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
Résultat Generator

setup() public méthode

public setup ( callable $parseEmitter, callable $responseWriter )
$parseEmitter callable
$responseWriter callable

upgradeBodySize() public méthode

public upgradeBodySize ( InternalRequest $ireq )
$ireq InternalRequest

writer() public méthode

public writer ( InternalRequest $ireq ) : Generator
$ireq InternalRequest
Résultat Generator