1 | <?php |
||
18 | class HttpClient extends Client |
||
19 | { |
||
20 | /** |
||
21 | * Parse Body and if File is found it will find file and send it |
||
22 | * |
||
23 | * @param string $method Request method to be used |
||
24 | * @param string $uri Url to where to send data |
||
25 | * @param array $options Config params |
||
26 | * |
||
27 | * @return \GuzzleHttp\Promise\PromiseInterface |
||
28 | */ |
||
29 | public function requestAsync($method, $uri = null, array $options = []) |
||
35 | |||
36 | /** |
||
37 | * Parse Body and if File is found it will find file and send it |
||
38 | * |
||
39 | * @param string $method Request method to be used |
||
40 | * @param string $uri Url to where to send data |
||
41 | * @param array $options Config params |
||
42 | * @return mixed |
||
43 | */ |
||
44 | public function request($method, $uri = null, array $options = []) |
||
50 | |||
51 | /** |
||
52 | * @param array $options Curl data options |
||
53 | * @return array options |
||
54 | */ |
||
55 | private function checkFileUploadRequest($options) |
||
85 | } |
||
86 |