[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
Trait implementing functionality common to requests and responses.
Author: | Michael Dowling and contributors to guzzlehttp/psr7 |
Author: | Tobias Nyholm <[email protected]> |
Author: | Martijn van der Ven <[email protected]> |
File Size: | 207 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
getProtocolVersion() X-Ref |
No description |
withProtocolVersion($version) X-Ref |
No description |
getHeaders() X-Ref |
No description |
hasHeader($header) X-Ref |
No description |
getHeader($header) X-Ref |
No description |
getHeaderLine($header) X-Ref |
No description |
withHeader($header, $value) X-Ref |
No description |
withAddedHeader($header, $value) X-Ref |
No description |
withoutHeader($header) X-Ref |
No description |
getBody() X-Ref |
No description |
withBody(StreamInterface $body) X-Ref |
No description |
setHeaders(array $headers) X-Ref |
No description |
validateAndTrimHeader($header, $values) X-Ref |
Make sure the header complies with RFC 7230. Header names must be a non-empty string consisting of token characters. Header values must be strings consisting of visible characters with all optional leading and trailing whitespace stripped. This method will always strip such optional whitespace. Note that the method does not allow folding whitespace within the values as this was deprecated for almost all instances by the RFC. header-field = field-name ":" OWS field-value OWS field-name = 1*( "!" / "#" / "$" / "%" / "&" / "'" / "*" / "+" / "-" / "." / "^" / "_" / "`" / "|" / "~" / %x30-39 / ( %x41-5A / %x61-7A ) ) OWS = *( SP / HTAB ) field-value = *( ( %x21-7E / %x80-FF ) [ 1*( SP / HTAB ) ( %x21-7E / %x80-FF ) ] ) |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |