Cheetah
Public Member Functions | List of all members
Facebook\HttpClients\FacebookHttpClientInterface Interface Reference
Inheritance diagram for Facebook\HttpClients\FacebookHttpClientInterface:
Facebook\HttpClients\FacebookCurlHttpClient Facebook\HttpClients\FacebookGuzzleHttpClient Facebook\HttpClients\FacebookStreamHttpClient

Public Member Functions

 send ($url, $method, $body, array $headers, $timeOut)
 

Detailed Description

Definition at line 31 of file FacebookHttpClientInterface.php.

Member Function Documentation

◆ send()

Facebook\HttpClients\FacebookHttpClientInterface::send (   $url,
  $method,
  $body,
array  $headers,
  $timeOut 
)

Sends a request to the server and returns the raw response.

Parameters
string$urlThe endpoint to send the request to.
string$methodThe request method.
string$bodyThe body of the request.
array$headersThe request headers.
int$timeOutThe timeout in seconds for the request.
Returns
\Facebook\Http\GraphRawResponse Raw response from the server.
Exceptions

Implemented in Facebook\HttpClients\FacebookStreamHttpClient, Facebook\HttpClients\FacebookGuzzleHttpClient, and Facebook\HttpClients\FacebookCurlHttpClient.


The documentation for this interface was generated from the following file: