Definition at line 30 of file HttpClientsFactory.php.
◆ createHttpClient()
static Facebook\HttpClients\HttpClientsFactory::createHttpClient |
( |
|
$handler | ) |
|
|
static |
HTTP client generation.
- Parameters
-
- Exceptions
-
Exception | If the cURL extension or the Guzzle client aren't available (if required). |
InvalidArgumentException | If the http client handler isn't "curl", "stream", "guzzle", or an instance of Facebook\HttpClients\FacebookHttpClientInterface. |
- Returns
- FacebookHttpClientInterface
Definition at line 47 of file HttpClientsFactory.php.
The documentation for this class was generated from the following file: