|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| getConfig ($option=null) | |
| request ($method, $uri, array $options=[]) | |
| requestAsync ($method, $uri, array $options=[]) | |
| send (RequestInterface $request, array $options=[]) | |
| sendAsync (RequestInterface $request, array $options=[]) | |
Data Fields | |
| const | VERSION = '6.5.4' |
Client interface for sending HTTP requests.
Definition at line 13 of file vendor/guzzlehttp/guzzle/src/ClientInterface.php.
| GuzzleHttp\ClientInterface::getConfig | ( | $option = null | ) |
Get a client configuration option.
These options include default request options of the client, a "handler" (if utilized by the concrete client), and a "base_uri" if utilized by the concrete client.
| string | null | $option | The config option to retrieve. |
Implemented in GuzzleHttp\Client.
| GuzzleHttp\ClientInterface::request | ( | $method, | |
| $uri, | |||
| array | $options = [] |
||
| ) |
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.
| string | $method | HTTP method. |
| string | UriInterface | $uri | URI object or string. |
| array | $options | Request options to apply. |
| GuzzleException |
Implemented in GuzzleHttp\Client.
| GuzzleHttp\ClientInterface::requestAsync | ( | $method, | |
| $uri, | |||
| array | $options = [] |
||
| ) |
Create and send an asynchronous 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. Use an array to provide a URL template and additional variables to use in the URL template expansion.
| string | $method | HTTP method |
| string | UriInterface | $uri | URI object or string. |
| array | $options | Request options to apply. |
Implemented in GuzzleHttp\Client.
| GuzzleHttp\ClientInterface::send | ( | RequestInterface | $request, |
| array | $options = [] |
||
| ) |
Send an HTTP request.
| RequestInterface | $request | Request to send |
| array | $options | Request options to apply to the given request and to the transfer. |
| GuzzleException |
Implemented in GuzzleHttp\Client.
| GuzzleHttp\ClientInterface::sendAsync | ( | RequestInterface | $request, |
| array | $options = [] |
||
| ) |
Asynchronously send an HTTP request.
| RequestInterface | $request | Request to send |
| array | $options | Request options to apply to the given request and to the transfer. |
Implemented in GuzzleHttp\Client.
| const GuzzleHttp\ClientInterface::VERSION = '6.5.4' |
Definition at line 18 of file vendor/guzzlehttp/guzzle/src/ClientInterface.php.
Referenced by GuzzleHttp\default_user_agent().