1 | <?php |
||
19 | class HttpClient extends Client |
||
20 | { |
||
21 | /** @var string */ |
||
22 | private $url; |
||
23 | |||
24 | /** |
||
25 | * Parse Body and if File is found it will find file and send it |
||
26 | * |
||
27 | * @param string $method Request method to be used |
||
28 | * @param string $uri Url to where to send data |
||
29 | * @param array $options Config params |
||
30 | * |
||
31 | * @return \GuzzleHttp\Promise\PromiseInterface |
||
32 | */ |
||
33 | public function requestAsync($method, $uri = null, array $options = []) |
||
40 | |||
41 | /** |
||
42 | * @param array $options Curl data options |
||
43 | * @return array options |
||
44 | */ |
||
45 | private function checkFileUploadRequest($options) |
||
70 | } |
||
71 |