PATH:
home
/
letacommog
/
laindinois
/
wp-content
/
plugins
/
mycred
/
addons
/
buy-creds
/
gateways
/
Bitpay
/
Client
<?php /** * @license Copyright 2011-2014 BitPay Inc., MIT License * see https://github.com/bitpay/php-bitpay-client/blob/master/LICENSE */ namespace Bitpay\Client; /** * * @package Bitpay */ interface RequestInterface { const METHOD_POST = 'POST'; const METHOD_GET = 'GET'; const METHOD_PUT = 'PUT'; const METHOD_DELETE = 'DELETE'; /** * Returns the method for this request * * @return string */ public function getMethod(); /** * Should always return https * * @return string */ public function getSchema(); /** * Returns the host to send the request to. The host would be something * such as `test.bitpay.com` or `bitpay.com` * * @return string */ public function getHost(); /** * Returns port to send request on * * @return integer */ public function getPort(); /** * example of path is `api/invoice` as this is appended to $host * * @return string */ public function getPath(); /** * Returns $schema://$host:$port/$path * * @return string */ public function getUri(); /** * Checks the request to see if the method matches a known value * * @param string $method * * @return boolean */ public function isMethod($method); /** * Returns the request body * * @return string */ public function getBody(); /** * Returns a $key => $value array of http headers * * @return array */ public function getHeaders(); }
[+]
..
[-] Request.php
[edit]
[-] Response.php
[edit]
[-] ResponseInterface.php
[edit]
[-] BitpayException.php
[edit]
[-] RequestInterface.php
[edit]
[-] Client.php
[edit]
[-] ClientInterface.php
[edit]
[+]
Adapter
[-] ConnectionException.php
[edit]
[-] ArgumentException.php
[edit]