GuzzleClient

Type
Class
Namespace
craft\feeds
Inherits
craft\feeds\GuzzleClient
Implements
Zend\Feed\Reader\Http\ClientInterface
Since
3.0

PSR-7 Guzzle client for the Feeds service.

View source

Public Methods

MethodDescription
__construct()
get()Make a GET request to a given URI

__construct()

View source

Arguments

  • $client (\GuzzleHttp\ClientInterface, null)

Signature

public void __construct ( \GuzzleHttp\ClientInterface $client = null )

get()

Make a GET request to a given URI

View source

Arguments

Returns

\Zend\Feed\Reader\Http\ResponseInterface

Signature

public \Zend\Feed\Reader\Http\ResponseInterface get ( $uri )