CurlFactory.php
3 years ago
CurlFactoryInterface.php
3 years ago
CurlHandler.php
3 years ago
CurlMultiHandler.php
3 years ago
EasyHandle.php
3 years ago
MockHandler.php
3 years ago
Proxy.php
3 years ago
StreamHandler.php
3 years ago
CurlFactoryInterface.php
27 lines
| 1 | <?php |
| 2 | |
| 3 | namespace WPMailSMTP\Vendor\GuzzleHttp\Handler; |
| 4 | |
| 5 | use WPMailSMTP\Vendor\Psr\Http\Message\RequestInterface; |
| 6 | interface CurlFactoryInterface |
| 7 | { |
| 8 | /** |
| 9 | * Creates a cURL handle resource. |
| 10 | * |
| 11 | * @param RequestInterface $request Request |
| 12 | * @param array $options Transfer options |
| 13 | * |
| 14 | * @return EasyHandle |
| 15 | * @throws \RuntimeException when an option cannot be applied |
| 16 | */ |
| 17 | public function create(\WPMailSMTP\Vendor\Psr\Http\Message\RequestInterface $request, array $options); |
| 18 | /** |
| 19 | * Release an easy handle, allowing it to be reused or closed. |
| 20 | * |
| 21 | * This function must call unset on the easy handle's "handle" property. |
| 22 | * |
| 23 | * @param EasyHandle $easy |
| 24 | */ |
| 25 | public function release(\WPMailSMTP\Vendor\GuzzleHttp\Handler\EasyHandle $easy); |
| 26 | } |
| 27 |