GuzzleHttpchoose_handler

Chooses and creates a default handler to use based on the environment.

Description

GuzzleHttp\choose_handler(); 

The returned handler is not wrapped by any default middlewares.


Usage

  1. if ( !function_exists( 'GuzzleHttp\choose_handler' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'w3-total-cache/lib/Azure/GuzzleHttp/functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = GuzzleHttp\choose_handler(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/lib/Azure/GuzzleHttp/functions.php