You are here

public function CurlFactoryInterface::create in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/guzzle/src/Handler/CurlFactoryInterface.php \GuzzleHttp\Handler\CurlFactoryInterface::create()

Creates a cURL handle resource.

Parameters

RequestInterface $request Request:

array $options Transfer options:

Return value

EasyHandle

Throws

\RuntimeException when an option cannot be applied

1 method overrides CurlFactoryInterface::create()
CurlFactory::create in vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php
Creates a cURL handle resource.

File

vendor/guzzlehttp/guzzle/src/Handler/CurlFactoryInterface.php, line 17

Class

CurlFactoryInterface

Namespace

GuzzleHttp\Handler

Code

public function create(RequestInterface $request, array $options);