Method |
Description |
|
getBody ( ) : string |
Returns the request body |
|
getHeaders ( ) : array |
Returns a $key => $value array of http headers |
|
getHost ( ) : string |
Returns the host to send the request to. The host would be something
such as test.bitpay.com or bitpay.com |
|
getMethod ( ) : string |
Returns the method for this request |
|
getPath ( ) : string |
example of path is api/invoice as this is appended to $host |
|
getPort ( ) : integer |
Returns port to send request on |
|
getSchema ( ) : string |
Should always return https |
|
getUri ( ) : string |
Returns $schema://$host:$port/$path |
|
isMethod ( string $method ) : boolean |
Checks the request to see if the method matches a known value |
|