[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch




/vendor/guzzlehttp/guzzle/src/ -> Client.php (summary)

(no description)

File Size: 362 lines (12 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Client:: (21 methods):

Class: Client  - X-Ref

HTTP client

__construct(array $config = [])   X-Ref
Clients accept an array of constructor parameters.

Here's an example of creating a client using an URI template for the
client's base_url and an array of default request options to apply
to each request:

$client = new Client([
'base_url' => [
['version' => '123']
'defaults' => [
'timeout'         => 10,
'allow_redirects' => false,
'proxy'           => ''

param: array $config Client configuration settings

getDefaultOption($keyOrPath = null)   X-Ref
No description

setDefaultOption($keyOrPath, $value)   X-Ref
No description

getBaseUrl()   X-Ref
No description

createRequest($method, $url = null, array $options = [])   X-Ref
No description

get($url = null, $options = [])   X-Ref
No description

head($url = null, array $options = [])   X-Ref
No description

delete($url = null, array $options = [])   X-Ref
No description

put($url = null, array $options = [])   X-Ref
No description

patch($url = null, array $options = [])   X-Ref
No description

post($url = null, array $options = [])   X-Ref
No description

options($url = null, array $options = [])   X-Ref
No description

send(RequestInterface $request)   X-Ref
No description

getDefaultOptions()   X-Ref
Get an array of default options to apply to the client

return: array

buildUrl($url)   X-Ref
Expand a URI template and inherit from the base URL if it's relative

param: string|array $url URL or an array of the URI template to expand
return: string

configureBaseUrl(&$config)   X-Ref
No description

configureDefaults($config)   X-Ref
No description

mergeDefaults($options)   X-Ref
Merges default options into the array passed by reference.

param: array $options Options to modify by reference
return: array

sendAll($requests, array $options = [])   X-Ref

getDefaultHandler()   X-Ref

getDefaultUserAgent()   X-Ref

Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1