Method | Description | |
---|---|---|
__construct ( null | string $uri = null, null | string $method = null, string | resource | StreamInterface $body = 'php://memory', array $headers = [] ) | ||
getHeader ( $header ) | ||
getHeaders ( ) |
public __construct ( null | string $uri = null, null | string $method = null, string | resource | StreamInterface $body = 'php://memory', array $headers = [] ) | ||
$uri | null | string | URI for the request, if any. |
$method | null | string | HTTP method for the request, if any. |
$body | string | resource | StreamInterface | Message body, if any. |
$headers | array | Headers for the message, if any. |