Guzzle Integration for Moodle.  
 More...
|  | 
|  | __construct (array $config=[]) | 
|  | 
|  | 
|  | get_handlers (array $settings) | 
|  | Get the handler stack according to the settings/options from client. 
 | 
|  | 
|  | get_options (array $settings) | 
|  | Get the custom options and handlers for guzzle integration in moodle. 
 | 
|  | 
|  | get_proxy (array $settings) | 
|  | Get the proxy server identified. 
 | 
|  | 
|  | setup_proxy (array $settings) | 
|  | Get the proxy configuration. 
 | 
|  | 
◆ get_handlers()
  
  | 
        
          | core\http_client::get_handlers | ( | array | $settings | ) |  |  | protected | 
 
Get the handler stack according to the settings/options from client. 
- Parameters
- 
  
    | array | $settings | The settings or options from client. |  
 
- Return values
- 
  
  
 
 
◆ get_options()
  
  | 
        
          | core\http_client::get_options | ( | array | $settings | ) |  |  | protected | 
 
Get the custom options and handlers for guzzle integration in moodle. 
- Parameters
- 
  
    | array | $settings | The settings or options from client. |  
 
- Return values
- 
  
  
 
 
◆ get_proxy()
  
  | 
        
          | core\http_client::get_proxy | ( | array | $settings | ) |  |  | protected | 
 
Get the proxy server identified. 
- Parameters
- 
  
    | array | $settings | The incoming settings. |  
 
- Return values
- 
  
    | string | The URI for the Proxy Server |  
 
 
 
◆ setup_proxy()
  
  | 
        
          | core\http_client::setup_proxy | ( | array | $settings | ) |  |  | protected | 
 
 
The documentation for this class was generated from the following file: