AbstractTransport
Implements TransportInterfaceAbstract transport class.
abstract
| since |
2.0.0 |
|---|---|
| package |
Joomla Framework |
Methods
__construct
Constructor.
__construct(array|\ArrayAccess options = []) : mixed
| since |
2.0.0 |
|---|---|
| throws |
|
Arguments
- options
array|\ArrayAccessClient options array.
Response
mixed
getOption
Get an option from the HTTP transport.
getOption(string key, mixed default = null) : mixed
| since |
2.0.0 |
|---|
Arguments
- key
stringThe name of the option to get.- default
mixedThe default value if the option is not set.
Response
mixedThe option value.
processHeaders
Processes the headers from a transport's response data.
processHeaders(array headers) : array
| since |
2.0.0 |
|---|
Arguments
- headers
arrayThe headers to process.
Response
array
Properties
options
The client options.
| since |
2.0.0 |
|---|
Type(s)
array|\ArrayAccess