PHP Class Icicle\Http\Driver\Encoder\Http1Encoder

Show file Open project: icicleio/http

Public Methods

Method Description
encodeRequest ( Request $request ) : string
encodeResponse ( Response $response ) : string

Protected Methods

Method Description
encodeHeader ( string $header ) : string
encodeHeaders ( array $headers ) : string

Method Details

encodeHeader() protected method

protected encodeHeader ( string $header ) : string
$header string
return string

encodeHeaders() protected method

protected encodeHeaders ( array $headers ) : string
$headers array
return string

encodeRequest() public method

public encodeRequest ( Request $request ) : string
$request Request
return string

encodeResponse() public method

public encodeResponse ( Response $response ) : string
$response Response
return string