PHP Class eZ\Bundle\EzPublishRestBundle\Features\Context\RestClient\Guzzle4Driver

Inheritance: extends GuzzleDriver
Show file Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
__construct ( ) Initialize client.
getBody ( ) : string Get response body.
getHeaders ( ) : array Get all response headers.
send ( ) Send the request.
setBody ( string $body ) Set request body.

Method Details

__construct() public method

Initialize client.
public __construct ( )

getBody() public method

Get response body.
public getBody ( ) : string
return string

getHeaders() public method

Get all response headers.
public getHeaders ( ) : array
return array Associative array with $header => $value (value can be an array if it hasn't a single value)

send() public method

Send the request.
public send ( )

setBody() public method

Set request body.
public setBody ( string $body )
$body string