class GuzzleAdapter implements GuzzleAdapterInterface
Methods
__construct(ClientInterface $guzzle) | ||
ClientInterface | getGuzzle() | |
string |
getBaseUrl()
Returns the client base URL |
|
setUserAgent(string $userAgent)
Sets the user agent |
||
string |
call(string $method, string $path, array $query = array(), array $postFields = array())
Performs an HTTP request, returns the body response |
|
static | create(array $config, array $cache = array(), array $plugins = array()) |
Details
at line 38
public
__construct(ClientInterface $guzzle)
at line 48
public ClientInterface
getGuzzle()
at line 58
public string
getBaseUrl()
Returns the client base URL
at line 68
public
setUserAgent(string $userAgent)
Sets the user agent
at line 86
public string
call(string $method, string $path, array $query = array(), array $postFields = array())
Performs an HTTP request, returns the body response