[ Index ]

PHP Cross Reference of phpBB-3.3.2-deutsch

title

Body

[close]

/vendor/s9e/text-formatter/src/Utils/Http/Clients/ -> Native.php (summary)

(no description)

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

Defines 1 class

Native:: (7 methods):
  __construct()
  get()
  post()
  createContext()
  decompress()
  generateHeaders()
  request()


Class: Native  - X-Ref


__construct()   X-Ref
Constructor


get($url, array $options = [])   X-Ref
{@inheritdoc}


post($url, array $options = [], $body = '')   X-Ref
{@inheritdoc}


createContext($method, array $options, $body)   X-Ref
Create a stream context for given request

param: string   $method  Request method
param: array    $options Request options
param: string   $body    Request body
return: resource

decompress($content)   X-Ref
Decompress given page if applicable

param: string $content Response body, potentially compressed
return: string          Response body, uncompressed

generateHeaders(array $options, $body)   X-Ref
Generate a list of headers for given request

param: array    $options Request options
param: string   $body    Request body
return: string[]

request($method, $url, array $options, $body = '')   X-Ref
Execute an HTTP request

param: string      $method  Request method
param: string      $url     Request URL
param: array       $options Request options
param: string      $body    Request body
return: string|bool          Response body or FALSE



Generated: Wed Nov 11 20:28:18 2020 Cross-referenced by PHPXref 0.7.1