GuzzleHttpPsr7_parse_request_uri

Constructs a URI for an HTTP request message.

Description

(string) GuzzleHttp\Psr7\_parse_request_uri( (string) $path, (array) array $headers ); 

Returns (string)

Parameters (2)

0. $path (string)
Path from the start-line
1. $headers (array) => array $headers
Array of headers (each value an array).

Usage

  1. if ( !function_exists( 'GuzzleHttp\Psr7\_parse_request_uri' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'w3-total-cache/lib/Azure/GuzzleHttp/Psr7/functions.php'; 
  3.  
  4. // Path from the start-line 
  5. $path = ''; 
  6.  
  7. // Array of headers (each value an array). 
  8. $headers = array(); 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = GuzzleHttp\Psr7\_parse_request_uri($path, $headers); 
  12.  

Defined (1)

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

/lib/Azure/GuzzleHttp/Psr7/functions.php