Methods |
public static chooseHandler() : callable Chooses and creates a default handler to use based on the environment. The returned handler is not wrapped by any default middlewares.
|
public static currentTime() : float Wrapper for the hrtime() or microtime() functions
|
public static debugResource( $value = NULL) Returns a debug stream based on the provided variable.
|
public static defaultCaBundle() : string Returns the default cacert bundle for the current system. First, the openssl.cafile and curl.cainfo php.ini settings are checked. Note: the result of this function is cached for subsequent calls.
|
public static defaultUserAgent() : string Get the default User-Agent string to use with Guzzle. |
public static describeType( $input) : string Debug function used to describe the provided value type and class.
|
public static getenv(string $name) : ?string
|
public static headersFromLines(iterable $lines) : array Parses an array of header lines into an associative array of headers.
|
public static idnUriConvert(Psr\Http\Message\UriInterface $uri, int $options = 0) : Psr\Http\Message\UriInterface
|
public static isHostInNoProxy(string $host, array $noProxyArray) : bool Returns true if the provided host matches any of the no proxy areas. This method will strip a port from the host if it is present. Each pattern Areas are matched in the following cases:
|
public static jsonDecode(string $json, bool $assoc = false, int $depth = 512, int $options = 0) Wrapper for json_decode that throws when an error occurs.
|
public static jsonEncode( $value, int $options = 0, int $depth = 512) : string Wrapper for JSON encoding that throws when an error occurs.
|
public static normalizeHeaderKeys(array $headers) : array Creates an associative array of lowercase header names to the actual |
Methods |
private static idnToAsci(string $domain, int $options, ?array $info = []) |
Methods |
public static chooseHandler() : callable Chooses and creates a default handler to use based on the environment. The returned handler is not wrapped by any default middlewares.
|
public static currentTime() : float Wrapper for the hrtime() or microtime() functions
|
public static debugResource( $value = NULL) Returns a debug stream based on the provided variable.
|
public static defaultCaBundle() : string Returns the default cacert bundle for the current system. First, the openssl.cafile and curl.cainfo php.ini settings are checked. Note: the result of this function is cached for subsequent calls.
|
public static defaultUserAgent() : string Get the default User-Agent string to use with Guzzle. |
public static describeType( $input) : string Debug function used to describe the provided value type and class.
|
public static getenv(string $name) : ?string
|
public static headersFromLines(iterable $lines) : array Parses an array of header lines into an associative array of headers.
|
private static idnToAsci(string $domain, int $options, ?array $info = []) |
public static idnUriConvert(Psr\Http\Message\UriInterface $uri, int $options = 0) : Psr\Http\Message\UriInterface
|
public static isHostInNoProxy(string $host, array $noProxyArray) : bool Returns true if the provided host matches any of the no proxy areas. This method will strip a port from the host if it is present. Each pattern Areas are matched in the following cases:
|
public static jsonDecode(string $json, bool $assoc = false, int $depth = 512, int $options = 0) Wrapper for json_decode that throws when an error occurs.
|
public static jsonEncode( $value, int $options = 0, int $depth = 512) : string Wrapper for JSON encoding that throws when an error occurs.
|
public static normalizeHeaderKeys(array $headers) : array Creates an associative array of lowercase header names to the actual |