Request

CURL-request wrapper
Methods Summary
public
# __construct( $defaultHeaders = array ( ), $defaultCURLOptions = array ( ) )
public
# request( array $curlOptions )
Makes CURL request with given CURL options
public
# get( string $url , array $data = array ( ) )
Makes CURL GET-request to the $url with parameters $data
public
# post( string $url , string $data )
Makes CURL POST-request to the $url with parameters $data
Constants Summary
public int GET
# 1
public int POST
# 2
public int HTTP_NOTFOUND_CODE
# 404