[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/guzzlehttp/guzzle/src/Message/ -> AbstractMessage.php (summary)

(no description)

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

Defines 19 functions

  __toString()
  getProtocolVersion()
  getBody()
  setBody()
  addHeader()
  addHeaders()
  getHeader()
  getHeaderAsArray()
  getHeaders()
  setHeader()
  setHeaders()
  hasHeader()
  removeHeader()
  parseHeader()
  normalizeHeader()
  getStartLineAndHeaders()
  getHeadersAsString()
  getStartLine()
  handleOptions()

Functions
Functions that are not part of a class:

__toString()   X-Ref
No description

getProtocolVersion()   X-Ref
No description

getBody()   X-Ref
No description

setBody(StreamInterface $body = null)   X-Ref
No description

addHeader($header, $value)   X-Ref
No description

addHeaders(array $headers)   X-Ref
No description

getHeader($header)   X-Ref
No description

getHeaderAsArray($header)   X-Ref
No description

getHeaders()   X-Ref
No description

setHeader($header, $value)   X-Ref
No description

setHeaders(array $headers)   X-Ref
No description

hasHeader($header)   X-Ref
No description

removeHeader($header)   X-Ref
No description

parseHeader(MessageInterface $message, $header)   X-Ref
Parse an array of header values containing ";" separated data into an
array of associative arrays representing the header key value pair
data of the header. When a parameter does not contain a value, but just
contains a key, this function will inject a key with a '' string value.

param: MessageInterface $message That contains the header
param: string           $header  Header to retrieve from the message
return: array Returns the parsed header values.

normalizeHeader(MessageInterface $message, $header)   X-Ref
Converts an array of header values that may contain comma separated
headers into an array of headers with no comma separated values.

param: MessageInterface $message That contains the header
param: string              $header  Header to retrieve from the message
return: array Returns the normalized header field values.

getStartLineAndHeaders(MessageInterface $message)   X-Ref
Gets the start-line and headers of a message as a string

param: MessageInterface $message
return: string

getHeadersAsString(MessageInterface $message)   X-Ref
Gets the headers of a message as a string

param: MessageInterface $message
return: string

getStartLine(MessageInterface $message)   X-Ref
Gets the start line of a message

param: MessageInterface $message
return: string

handleOptions(array &$options)   X-Ref
Accepts and modifies the options provided to the message in the
constructor.

Can be overridden in subclasses as necessary.

param: array $options Options array passed by reference.



Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1