Cheetah
Static Public Member Functions | List of all members
Facebook\HttpClients\HttpClientsFactory Class Reference

Static Public Member Functions

static createHttpClient ($handler)
 

Detailed Description

Definition at line 30 of file HttpClientsFactory.php.

Member Function Documentation

◆ createHttpClient()

static Facebook\HttpClients\HttpClientsFactory::createHttpClient (   $handler)
static

HTTP client generation.

Parameters
FacebookHttpClientInterface | Client | string | null$handler
Exceptions
ExceptionIf the cURL extension or the Guzzle client aren't available (if required).
InvalidArgumentExceptionIf 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: