function ClientTrait::get
Create and send an HTTP GET request.
Use an absolute path to override the base path of the client, or a relative path to append to the base path of the client. The URL can contain the query string as well.
Parameters
string|UriInterface $uri URI object or string.:
array $options Request options to apply.:
Throws
File
-
vendor/
guzzlehttp/ guzzle/ src/ ClientTrait.php, line 42
Class
- ClientTrait
- Client interface for sending HTTP requests.
Namespace
GuzzleHttpCode
public function get($uri, array $options = []) : ResponseInterface {
return $this->request('GET', $uri, $options);
}