Mercurial > hg > isophonics-drupal-site
view vendor/guzzlehttp/guzzle/src/Handler/CurlFactoryInterface.php @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line source
<?php namespace GuzzleHttp\Handler; use Psr\Http\Message\RequestInterface; interface CurlFactoryInterface { /** * Creates a cURL handle resource. * * @param RequestInterface $request Request * @param array $options Transfer options * * @return EasyHandle * @throws \RuntimeException when an option cannot be applied */ public function create(RequestInterface $request, array $options); /** * Release an easy handle, allowing it to be reused or closed. * * This function must call unset on the easy handle's "handle" property. * * @param EasyHandle $easy */ public function release(EasyHandle $easy); }