PHP Class Icicle\Http\Driver\Builder\Http1Builder

Exibir arquivo Open project: icicleio/http

Public Methods

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

Private Methods

Method Description
buildIncomingStream ( Message $message, float $timeout ) : Generator
buildOutgoingStream ( Message $message, float $timeout ) : Generator

Method Details

__construct() public method

public __construct ( array $options = [] )
$options array

buildIncomingRequest() public method

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

buildIncomingResponse() public method

public buildIncomingResponse ( Response $response, float $timeout ) : Generator
$response Response
$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