Cheetah
|
Public Member Functions | |
send ($url, $method, $body, array $headers, $timeOut) | |
Definition at line 31 of file FacebookHttpClientInterface.php.
Facebook\HttpClients\FacebookHttpClientInterface::send | ( | $url, | |
$method, | |||
$body, | |||
array | $headers, | ||
$timeOut | |||
) |
Sends a request to the server and returns the raw response.
string | $url | The endpoint to send the request to. |
string | $method | The request method. |
string | $body | The body of the request. |
array | $headers | The request headers. |
int | $timeOut | The timeout in seconds for the request. |
Implemented in Facebook\HttpClients\FacebookStreamHttpClient, Facebook\HttpClients\FacebookGuzzleHttpClient, and Facebook\HttpClients\FacebookCurlHttpClient.