Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct (string $method, $uri, array $headers=[], $body=null, string $version='1.1') | |
Fonctions membres publiques hérités de RequestInterface | |
getRequestTarget () | |
withRequestTarget ($requestTarget) | |
getMethod () | |
withMethod ($method) | |
getUri () | |
withUri (UriInterface $uri, $preserveHost=false) | |
Fonctions membres publiques hérités de MessageInterface | |
getProtocolVersion () | |
withProtocolVersion ($version) | |
getHeaders () | |
hasHeader ($name) | |
getHeader ($name) | |
getHeaderLine ($name) | |
withHeader ($name, $value) | |
withAddedHeader ($name, $value) | |
withoutHeader ($name) | |
getBody () | |
withBody (StreamInterface $body) | |
This class should never be extended. See https://github.com/Nyholm/psr7/blob/master/doc/final.md
__construct | ( | string | $method, |
$uri, | |||
array | $headers = [] , |
||
$body = null , |
|||
string | $version = '1.1' |
||
) |
string | $method | HTTP method |
string | UriInterface | $uri | URI |
array | $headers | Request headers |
string | resource | StreamInterface | null | $body | Request body |
string | $version | Protocol version |
Références $method, Nyholm\Psr7\$uri, $version, Stream\create(), MessageInterface\hasHeader(), method, null, Nyholm\Psr7\setHeaders(), et Nyholm\Psr7\updateHostFromUri().