[ Index ]

PHP Cross Reference of phpBB-3.3.3-deutsch

title

Body

[close]

/vendor/guzzlehttp/psr7/src/ -> MessageTrait.php (summary)

Trait implementing functionality common to requests and responses.

File Size: 214 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 15 functions

  getProtocolVersion()
  withProtocolVersion()
  getHeaders()
  hasHeader()
  getHeader()
  getHeaderLine()
  withHeader()
  withAddedHeader()
  withoutHeader()
  getBody()
  withBody()
  setHeaders()
  normalizeHeaderValue()
  trimHeaderValues()
  assertHeader()

Functions
Functions that are not part of a class:

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

normalizeHeaderValue($value)   X-Ref
No description

trimHeaderValues(array $values)   X-Ref
Trims whitespace from the header values.

Spaces and tabs ought to be excluded by parsers when extracting the field value from a header field.

header-field = field-name ":" OWS field-value OWS
OWS          = *( SP / HTAB )

return: string[] Trimmed header values
param: string[] $values Header values

assertHeader($header)   X-Ref
No description



Generated: Sun Feb 14 20:08:31 2021 Cross-referenced by PHPXref 0.7.1