public function ClientInterface::request in Lockr 7.3
Create and send an HTTP 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 $method HTTP method.:
string|UriInterface $uri URI object or string.:
array $options Request options to apply.:
Return value
Throws
1 method overrides ClientInterface::request()
- Client::request in vendor/
guzzlehttp/ guzzle/ src/ Client.php - Create and send an HTTP request.
File
- vendor/
guzzlehttp/ guzzle/ src/ ClientInterface.php, line 54
Class
- ClientInterface
- Client interface for sending HTTP requests.
Namespace
GuzzleHttpCode
public function request($method, $uri, array $options = []);