GuzzleHttpPsr7str

Returns the string representation of an HTTP message.

Description

(string) GuzzleHttp\Psr7\str( (MessageInterface) Psr\Http\Message\MessageInterface $message ); 

Returns (string)

Parameters (1)

0. $message (MessageInterface) => Psr\Http\Message\MessageInterface $message
Message to convert to a string.

Usage

  1. if ( !function_exists( 'GuzzleHttp\Psr7\str' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'w3-total-cache/lib/Azure/GuzzleHttp/Psr7/functions.php'; 
  3.  
  4. // Message to convert to a string. 
  5. $message = Psr\Http\Message\MessageInterface $message; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = GuzzleHttp\Psr7\str($message); 
  9.  

Defined (1)

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

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