| 1 | <?php |
||
| 19 | class GuzzleAdapter extends Client |
||
| 20 | { |
||
| 21 | |||
| 22 | /** |
||
| 23 | * curl options |
||
| 24 | * |
||
| 25 | * @var array |
||
| 26 | */ |
||
| 27 | private $curlOptions; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @inheritDoc |
||
| 31 | * |
||
| 32 | * @param RequestInterface $request request |
||
| 33 | * @param array $options options |
||
| 34 | * |
||
| 35 | * @return ResponseInterface |
||
| 36 | */ |
||
| 37 | public function send(RequestInterface $request, array $options = []) |
||
| 46 | |||
| 47 | /** |
||
| 48 | * set curl options |
||
| 49 | * |
||
| 50 | * @param array $curlOptions the curl options |
||
| 51 | * |
||
| 52 | * @return void |
||
| 53 | */ |
||
| 54 | public function setCurlOptions(array $curlOptions) |
||
| 58 | } |
||
| 59 |