Client interface for sending HTTP requests.
Methods |
public delete( $uri, array $options = []) : Psr\Http\Message\ResponseInterface Create and send an HTTP DELETE 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.
|
public deleteAsync( $uri, array $options = []) : GuzzleHttp Create and send an asynchronous HTTP DELETE 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.
|
public get( $uri, array $options = []) : Psr\Http\Message\ResponseInterface 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.
|
public getAsync( $uri, array $options = []) : GuzzleHttp Create and send an asynchronous 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. Use an array to provide a URL template and additional variables to use in the URL template expansion.
|
public head( $uri, array $options = []) : Psr\Http\Message\ResponseInterface Create and send an HTTP HEAD 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.
|
public headAsync( $uri, array $options = []) : GuzzleHttp Create and send an asynchronous HTTP HEAD 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.
|
public patch( $uri, array $options = []) : Psr\Http\Message\ResponseInterface Create and send an HTTP PATCH 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.
|
public patchAsync( $uri, array $options = []) : GuzzleHttp Create and send an asynchronous HTTP PATCH 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.
|
public post( $uri, array $options = []) : Psr\Http\Message\ResponseInterface Create and send an HTTP POST 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.
|
public postAsync( $uri, array $options = []) : GuzzleHttp Create and send an asynchronous HTTP POST 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.
|
public put( $uri, array $options = []) : Psr\Http\Message\ResponseInterface Create and send an HTTP PUT 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.
|
public putAsync( $uri, array $options = []) : GuzzleHttp Create and send an asynchronous HTTP PUT 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.
|
public abstract request(string $method, $uri, array $options = []) : Psr\Http\Message\ResponseInterface 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.
|
public abstract requestAsync(string $method, $uri, array $options = []) : GuzzleHttp 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.
|