[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

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

(no description)

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

Defines 1 class

FutureResponse:: (22 methods):
  proxy()
  getStatusCode()
  setStatusCode()
  getReasonPhrase()
  setReasonPhrase()
  getEffectiveUrl()
  setEffectiveUrl()
  json()
  xml()
  __toString()
  getProtocolVersion()
  setBody()
  getBody()
  getHeaders()
  getHeader()
  getHeaderAsArray()
  hasHeader()
  removeHeader()
  addHeader()
  addHeaders()
  setHeader()
  setHeaders()


Class: FutureResponse  - X-Ref

Represents a response that has not been fulfilled.

When created, you must provide a function that is used to dereference the
future result and return it's value. The function has no arguments and MUST
return an instance of a {@see GuzzleHttp\Message\ResponseInterface} object.

You can optionally provide a function in the constructor that can be used to
cancel the future from completing if possible. This function has no
arguments and returns a boolean value representing whether or not the
response could be cancelled.

proxy(FutureInterface $future,callable $onFulfilled = null,callable $onRejected = null,callable $onProgress = null)   X-Ref
Returns a FutureResponse that wraps another future.

param: FutureInterface $future      Future to wrap with a new future
param: callable        $onFulfilled Invoked when the future fulfilled
param: callable        $onRejected  Invoked when the future rejected
param: callable        $onProgress  Invoked when the future progresses
return: FutureResponse

getStatusCode()   X-Ref
No description

setStatusCode($code)   X-Ref
No description

getReasonPhrase()   X-Ref
No description

setReasonPhrase($phrase)   X-Ref
No description

getEffectiveUrl()   X-Ref
No description

setEffectiveUrl($url)   X-Ref
No description

json(array $config = [])   X-Ref
No description

xml(array $config = [])   X-Ref
No description

__toString()   X-Ref
No description

getProtocolVersion()   X-Ref
No description

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

getBody()   X-Ref
No description

getHeaders()   X-Ref
No description

getHeader($header)   X-Ref
No description

getHeaderAsArray($header)   X-Ref
No description

hasHeader($header)   X-Ref
No description

removeHeader($header)   X-Ref
No description

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

addHeaders(array $headers)   X-Ref
No description

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

setHeaders(array $headers)   X-Ref
No description



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