PHP Interface Icicle\Http\Driver\Driver

Afficher le fichier Open project: icicleio/http Interface Usage Examples

Méthodes publiques

Méthode Description
buildRequest ( Request $request, float $timeout, boolean $allowPersistent = false ) : Generator
buildResponse ( Response $response, Request $request = null, float $timeout, boolean $allowPersistent = false ) : Generator
readRequest ( Icicle\Socket\Socket $socket, float $timeout ) : Generator
readResponse ( Icicle\Socket\Socket $socket, float $timeout ) : Generator
writeRequest ( Icicle\Socket\Socket $socket, Request $request, float $timeout ) : Generator
writeResponse ( Icicle\Socket\Socket $socket, Response $response, Request $request = null, float $timeout ) : Generator

Method Details

buildRequest() public méthode

public buildRequest ( Request $request, float $timeout, boolean $allowPersistent = false ) : Generator
$request Request
$timeout float
$allowPersistent boolean
Résultat Generator

buildResponse() public méthode

public buildResponse ( Response $response, Request $request = null, float $timeout, boolean $allowPersistent = false ) : Generator
$response Response
$request Request
$timeout float
$allowPersistent boolean
Résultat Generator

readRequest() public méthode

public readRequest ( Icicle\Socket\Socket $socket, float $timeout ) : Generator
$socket Icicle\Socket\Socket
$timeout float
Résultat Generator

readResponse() public méthode

public readResponse ( Icicle\Socket\Socket $socket, float $timeout ) : Generator
$socket Icicle\Socket\Socket
$timeout float
Résultat Generator

writeRequest() public méthode

public writeRequest ( Icicle\Socket\Socket $socket, Request $request, float $timeout ) : Generator
$socket Icicle\Socket\Socket
$request Request
$timeout float
Résultat Generator

writeResponse() public méthode

public writeResponse ( Icicle\Socket\Socket $socket, Response $response, Request $request = null, float $timeout ) : Generator
$socket Icicle\Socket\Socket
$response Response
$request Request
$timeout float
Résultat Generator