PHP Interface Icicle\Http\Driver\Builder\Builder

Mostrar archivo Open project: icicleio/http Interface Usage Examples

Public Methods

Method Description
buildIncomingRequest ( Request $request, float $timeout ) : Generator
buildIncomingResponse ( Response $response, Request $request, float $timeout ) : Generator
buildOutgoingRequest ( Request $request, float $timeout, boolean $allowPersistent = false ) : Generator
buildOutgoingResponse ( Response $response, Request $request = null, float $timeout, boolean $allowPersistent = false ) : Generator

Method Details

buildIncomingRequest() public method

public buildIncomingRequest ( Request $request, float $timeout ) : Generator
$request Request
$timeout float
return Generator

buildIncomingResponse() public method

public buildIncomingResponse ( Response $response, Request $request, float $timeout ) : Generator
$response Response
$request Request
$timeout float
return Generator

buildOutgoingRequest() public method

public buildOutgoingRequest ( Request $request, float $timeout, boolean $allowPersistent = false ) : Generator
$request Request
$timeout float
$allowPersistent boolean
return Generator

buildOutgoingResponse() public method

public buildOutgoingResponse ( Response $response, Request $request = null, float $timeout, boolean $allowPersistent = false ) : Generator
$response Response
$request Request
$timeout float
$allowPersistent boolean
return Generator