\Heise\Shariff\BackendRequest

Class Request.

Summary

Methods
Properties
Constants
__construct()
filterResponse()
setConfig()
No public properties found
No constants found
createRequest()
$client
$config
N/A
No private methods found
No private properties found
N/A

Properties

$client

$client :\GuzzleHttp\ClientInterface

Type

\GuzzleHttp\ClientInterface

$config

$config :array

Type

array

Methods

__construct()

__construct(\GuzzleHttp\ClientInterface  $client)

Parameters

\GuzzleHttp\ClientInterface $client

filterResponse()

filterResponse(  $content)

{@inheritdoc}

Parameters

$content

setConfig()

setConfig(array  $config)

Parameters

array $config

createRequest()

createRequest(string  $url,string  $method = 'GET'): \Psr\Http\Message\RequestInterface

Parameters

string $url
string $method

Returns

\Psr\Http\Message\RequestInterface