forked from xendit/xendit-php
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHttpClientInterface.php
More file actions
43 lines (39 loc) · 1.2 KB
/
HttpClientInterface.php
File metadata and controls
43 lines (39 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
/**
* HttpClientInterface.php
* php version 7.2.0
*
* @category Class
* @package Xendit
* @author Stanley Nguyen <stanley@xendit.co>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://github.com/xendit/xendit-php/blob/master/src/HttpClientInterface.php
*/
namespace Xendit;
/**
* Interface HttpClientInterface
*
* @category Interface
* @package Xendit
* @author Stanley Nguyen <stanley@xendit.co>
* @license https://opensource.org/licenses/MIT MIT License
* @link https://github.com/xendit/xendit-php/blob/master/src/HttpClientInterface.php
*/
interface HttpClientInterface
{
/**
* Create and send an HTTP request.
*
* Use an absolute path to override the base path of the client, or a
* relative path to append to the base path of the client. The URL can
* contain the query string as well.
*
* @param string $method HTTP method.
* @param string|UriInterface $uri URI object or string.
* @param array $options Request options to apply.
*
* @return ResponseInterface
* @throws GuzzleException
*/
public function request($method, $uri, array $options = []);
}