[ Index ]

PHP Cross Reference of phpBB-3.2.8-deutsch

title

Body

[close]

/vendor/guzzlehttp/ringphp/src/Client/ -> StreamHandler.php (summary)

(no description)

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

Defines 1 class

StreamHandler:: (18 methods):
  __construct()
  __invoke()
  createResponse()
  checkDecode()
  drain()
  createErrorResponse()
  createResource()
  createStream()
  getDefaultOptions()
  add_proxy()
  add_timeout()
  add_verify()
  add_cert()
  add_progress()
  add_debug()
  applyCustomOptions()
  createContext()
  createStreamResource()


Class: StreamHandler  - X-Ref

RingPHP client handler that uses PHP's HTTP stream wrapper.

__construct(array $options = [])   X-Ref
No description

__invoke(array $request)   X-Ref
No description

createResponse(array $request, $url, $stream)   X-Ref
No description

checkDecode(array $request, array $response, $stream)   X-Ref
No description

drain($stream, $dest)   X-Ref
Drains the stream into the "save_to" client option.

param: resource                        $stream
param: string|resource|StreamInterface $dest
return: Stream

createErrorResponse($url, RingException $e)   X-Ref
Creates an error response for the given stream.

param: string        $url
param: RingException $e
return: array

createResource(callable $callback)   X-Ref
Create a resource and check to ensure it was created successfully

param: callable $callback Callable that returns stream resource
return: resource

createStream($url, array $request)   X-Ref
No description

getDefaultOptions(array $request)   X-Ref
No description

add_proxy(array $request, &$options, $value, &$params)   X-Ref
No description

add_timeout(array $request, &$options, $value, &$params)   X-Ref
No description

add_verify(array $request, &$options, $value, &$params)   X-Ref
No description

add_cert(array $request, &$options, $value, &$params)   X-Ref
No description

add_progress(array $request, &$options, $value, &$params)   X-Ref
No description

add_debug(array $request, &$options, $value, &$params)   X-Ref
No description

applyCustomOptions(array $request, array &$options)   X-Ref
No description

createContext(array $request, array $options, array $params)   X-Ref
No description

createStreamResource($url,array $request,array $options,$context)   X-Ref
No description



Generated: Tue Apr 7 19:42:26 2020 Cross-referenced by PHPXref 0.7.1