Метод | Описание | |
---|---|---|
__construct ( null | string | Psr\Http\Message\UriInterface $uri = null, null | string $method = null, string | resource | Psr\Http\Message\StreamInterface $body = 'php://temp', array $headers = [] ) | ||
getHeader ( $header ) | ||
getHeaders ( ) |
public __construct ( null | string | Psr\Http\Message\UriInterface $uri = null, null | string $method = null, string | resource | Psr\Http\Message\StreamInterface $body = 'php://temp', array $headers = [] ) | ||
$uri | null | string | Psr\Http\Message\UriInterface | URI for the request, if any. |
$method | null | string | HTTP method for the request, if any. |
$body | string | resource | Psr\Http\Message\StreamInterface | Message body, if any. |
$headers | array | Headers for the message, if any. |