◆ __construct()
      
        
          | Facebook\HttpClients\FacebookStreamHttpClient::__construct | ( | FacebookStream | $facebookStream = null | ) |  | 
      
 
 
◆ compileHeader()
      
        
          | Facebook\HttpClients\FacebookStreamHttpClient::compileHeader | ( | array | $headers | ) |  | 
      
 
Formats the headers for use in the stream wrapper.
- Parameters
- 
  
    | array | $headers | The request headers. |  
 
- Returns
- string 
Definition at line 85 of file FacebookStreamHttpClient.php.
 
 
◆ send()
      
        
          | Facebook\HttpClients\FacebookStreamHttpClient::send | ( |  | $url, | 
        
          |  |  |  | $method, | 
        
          |  |  |  | $body, | 
        
          |  |  | array | $headers, | 
        
          |  |  |  | $timeOut | 
        
          |  | ) |  |  | 
      
 
Sends a request to the server and returns the raw response.
- Parameters
- 
  
    | 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. |  
 
- Returns
- \Facebook\Http\GraphRawResponse Raw response from the server.
- Exceptions
- 
  
  
Implements Facebook\HttpClients\FacebookHttpClientInterface.
Definition at line 47 of file FacebookStreamHttpClient.php.
 
 
◆ $facebookStream
  
  | 
        
          | Facebook\HttpClients\FacebookStreamHttpClient::$facebookStream |  | protected | 
 
 
The documentation for this class was generated from the following file: