PHP Class Aerys\StandardRequest

Inheritance: implements aerys\Request
Datei anzeigen Open project: amphp/aerys

Public Methods

Method Description
__construct ( InternalRequest $internalRequest )
getAllHeaders ( ) : array
getAllParams ( ) : array
getBody ( integer $bodySize ) : Body
getConnectionInfo ( ) : array
getCookie ( string $name )
getHeader ( string $field )
getHeaderArray ( string $field ) : array
getLocalVar ( string $key )
getMethod ( ) : string
getOption ( string $option )
getParam ( string $name )
getParamArray ( string $name ) : array
getProtocolVersion ( ) : string
getUri ( ) : string
setLocalVar ( string $key, $value )

Private Methods

Method Description
parseParams ( )

Method Details

__construct() public method

public __construct ( InternalRequest $internalRequest )
$internalRequest InternalRequest

getAllHeaders() public method

public getAllHeaders ( ) : array
return array

getAllParams() public method

public getAllParams ( ) : array
return array

getBody() public method

public getBody ( integer $bodySize ) : Body
$bodySize integer
return Body

getConnectionInfo() public method

public getConnectionInfo ( ) : array
return array

getCookie() public method

public getCookie ( string $name )
$name string

getHeader() public method

public getHeader ( string $field )
$field string

getHeaderArray() public method

public getHeaderArray ( string $field ) : array
$field string
return array

getLocalVar() public method

public getLocalVar ( string $key )
$key string

getMethod() public method

public getMethod ( ) : string
return string

getOption() public method

public getOption ( string $option )
$option string

getParam() public method

public getParam ( string $name )
$name string

getParamArray() public method

public getParamArray ( string $name ) : array
$name string
return array

getProtocolVersion() public method

public getProtocolVersion ( ) : string
return string

getUri() public method

public getUri ( ) : string
return string

setLocalVar() public method

public setLocalVar ( string $key, $value )
$key string