PHP Class Amfphp_Core_HttpRequestGatewayFactory, amfphp-2.0

Author: Ariel Sommeria-Klein
Datei anzeigen Open project: silexlabs/amfphp-2.0 Class Usage Examples

Public Methods

Method Description
createGateway ( Amfphp_Core_Config $config = null ) : Amfphp_Core_Gateway create the gateway.

Protected Methods

Method Description
getRawPostData ( ) : there seems to be some confusion in the php doc as to where best to get the raw post data from.

Method Details

createGateway() public static method

content type is recovered by looking at the GET parameter contentType. If it isn't set, it looks in the content headers.
public static createGateway ( Amfphp_Core_Config $config = null ) : Amfphp_Core_Gateway
$config Amfphp_Core_Config optional. If null, the gateway will use the default
return Amfphp_Core_Gateway

getRawPostData() protected static method

try $GLOBALS['HTTP_RAW_POST_DATA'] and php://input
protected static getRawPostData ( ) :
return