| 1 | <?php |
||
| 18 | class TinyCurlClient extends HTTPClientAbstract{ |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var \chillerlan\TinyCurl\Request |
||
| 22 | */ |
||
| 23 | protected $client; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * TinyCurlClient constructor. |
||
| 27 | * |
||
| 28 | * @param \chillerlan\TinyCurl\Request $client |
||
| 29 | */ |
||
| 30 | public function __construct(Request $client){ |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @param string $endpoint |
||
| 36 | * @param array $params |
||
| 37 | * @param string $method |
||
| 38 | * @param null $body |
||
| 39 | * @param array $headers |
||
| 40 | * |
||
| 41 | * @return \chillerlan\Threema\GatewayResponse |
||
| 42 | */ |
||
| 43 | public function getResponse(string $endpoint, array $params = [], $method = 'GET', $body = null, $headers = []):GatewayResponse{ |
||
| 52 | |||
| 53 | } |
||
| 54 |