[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/joomla/http/src/ -> AbstractTransport.php (summary)

Part of the Joomla Framework Http Package

Copyright: Copyright (C) 2005 - 2021 Open Source Matters, Inc. All rights reserved.
License: GNU General Public License version 2 or later; see LICENSE
File Size: 95 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 functions

  __construct()
  getOption()
  processHeaders()

Functions
Functions that are not part of a class:

__construct($options = [])   X-Ref
Constructor.

param: array|\ArrayAccess  $options  Client options array.

getOption(string $key, $default = null)   X-Ref
Get an option from the HTTP transport.

param: string  $key      The name of the option to get.
param: mixed   $default  The default value if the option is not set.
return: mixed  The option value.

processHeaders(array $headers)   X-Ref
Processes the headers from a transport's response data.

param: array  $headers  The headers to process.
return: array



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer