PHP Class Kraken\Network\Http\Driver\Reader\HttpReader

Inheritance: implements Kraken\Network\Http\Driver\Reader\HttpReaderInterface
Show file Open project: kraken-php/framework

Protected Properties

Property Type Description
$maxFrameSize integer
$parser Kraken\Network\Http\Driver\Parser\HttpParserInterface

Public Methods

Method Description
__construct ( mixed[] $options = [] )
__destruct ( )
readRequest ( Kraken\Util\Buffer\BufferInterface $buffer, $data )
readResponse ( Kraken\Util\Buffer\BufferInterface $buffer, $data )

Method Details

__construct() public method

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

__destruct() public method

public __destruct ( )

readRequest() public method

public readRequest ( Kraken\Util\Buffer\BufferInterface $buffer, $data )
$buffer Kraken\Util\Buffer\BufferInterface

readResponse() public method

public readResponse ( Kraken\Util\Buffer\BufferInterface $buffer, $data )
$buffer Kraken\Util\Buffer\BufferInterface

Property Details

$maxFrameSize protected property

protected int $maxFrameSize
return integer

$parser protected property

protected HttpParserInterface,Kraken\Network\Http\Driver\Parser $parser
return Kraken\Network\Http\Driver\Parser\HttpParserInterface