AbstractTransport
Implements TransportInterfaceAbstract transport class.
abstract
| since |
2.0.0 |
|---|---|
| package |
Joomla Framework |
Methods
__construct
Constructor.
__construct(array|\ArrayAccess options = []) :
| since |
2.0.0 |
|---|---|
| throws |
|
Arguments
- options
array<string|int, mixed>|ArrayAccessClient options array.
Response
mixed
getOption
Get an option from the HTTP transport.
getOption( key, default = null) :
| 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(mixed||string|int headers) : mixed||string|int
| since |
2.0.0 |
|---|
Arguments
- headers
array<string|int, mixed>The headers to process.
Response
array<string|int, mixed>
Properties
options
The client options.
| since |
2.0.0 |
|---|
Type(s)
array<string|int, mixed>|ArrayAccess