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|\ArrayAccess
Client 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
string
The name of the option to get.- default
mixed
The default value if the option is not set.
Response
mixed
The option value.
processHeaders
Processes the headers from a transport's response data.
processHeaders(array headers) : array
since |
2.0.0 |
---|
Arguments
- headers
array
The headers to process.
Response
array
Properties
options
The client options.
since |
2.0.0 |
---|
Type(s)
array|\ArrayAccess