Open Journal Systems
3.3.0
|
Static Public Member Functions | |
static | delete ($url, $options=array()) |
static | get ($url, $options=array()) |
static | head ($url, $options=array()) |
static | mount ($className='Guzzle', ClientInterface $client=null) |
static | options ($url, $options=array()) |
static | patch ($url, $options=array()) |
static | post ($url, $options=array()) |
static | put ($url, $options=array()) |
static | request ($method, $url, $options=array()) |
Simplified interface to Guzzle that does not require a class to be instantiated
Definition at line 13 of file StaticClient.php.
|
static |
Send a DELETE request
string | $url | URL of the request |
array | $options | Array of request options |
Definition at line 97 of file StaticClient.php.
References Guzzle\Http\StaticClient\request().
|
static |
Send a GET request
string | $url | URL of the request |
array | $options | Array of request options |
Definition at line 69 of file StaticClient.php.
References Guzzle\Http\StaticClient\request().
Referenced by Guzzle\Tests\Plugin\Redirect\StaticClientTest\testCanCreateStreamsUsingCustomFactory(), and Guzzle\Tests\Plugin\Redirect\StaticClientTest\testCanCreateStreamsUsingDefaultFactory().
|
static |
Send a HEAD request
string | $url | URL of the request |
array | $options | Array of request options |
Definition at line 83 of file StaticClient.php.
References Guzzle\Http\StaticClient\request().
|
static |
Mount the client to a simpler class name for a specific client
string | $className | Class name to use to mount |
ClientInterface | $client | Client used to send requests |
Definition at line 24 of file StaticClient.php.
Referenced by Guzzle\Tests\Plugin\Redirect\StaticClientTest\testMountsClient().
|
static |
Send an OPTIONS request
string | $url | URL of the request |
array | $options | Array of request options |
Definition at line 153 of file StaticClient.php.
References Guzzle\Http\StaticClient\request().
|
static |
Send a PATCH request
string | $url | URL of the request |
array | $options | Array of request options |
Definition at line 139 of file StaticClient.php.
References Guzzle\Http\StaticClient\request().
|
static |
Send a POST request
string | $url | URL of the request |
array | $options | Array of request options |
Definition at line 111 of file StaticClient.php.
References Guzzle\Http\StaticClient\request().
|
static |
Send a PUT request
string | $url | URL of the request |
array | $options | Array of request options |
Definition at line 125 of file StaticClient.php.
References Guzzle\Http\StaticClient\request().
|
static |
string | $method | HTTP request method (GET, POST, HEAD, DELETE, PUT, etc) |
string | $url | URL of the request |
array | $options | Options to use with the request. See: Guzzle\Http\Message\RequestFactory::applyOptions() |
Definition at line 38 of file StaticClient.php.
Referenced by Guzzle\Http\StaticClient\delete(), Guzzle\Http\StaticClient\get(), Guzzle\Http\StaticClient\head(), Guzzle\Http\StaticClient\options(), Guzzle\Http\StaticClient\patch(), Guzzle\Http\StaticClient\post(), and Guzzle\Http\StaticClient\put().