PHP Interface Vectorface\Whip\Request\RequestAdapter

Exibir arquivo Open project: vectorface/whip Interface Usage Examples

Public Methods

Method Description
getHeaders ( ) : string[] Get a key/value mapping of request headers, keys in lowercase.
getRemoteAddr ( ) : string Get the remote address, as seen by this request format.

Method Details

getHeaders() public method

Get a key/value mapping of request headers, keys in lowercase.
public getHeaders ( ) : string[]
return string[] An associative array mapping headers to values.

getRemoteAddr() public method

Get the remote address, as seen by this request format.
public getRemoteAddr ( ) : string
return string The remote address. IPv4 or IPv6, as applicable.