AbstractHttp
in package
implements
HttpInterface
AbstractYes
Abstract HTTP base class
Tags
Table of Contents
Interfaces
- HttpInterface
- Http base interface
Properties
- $client : mixed
- Client
Methods
- __construct() : mixed
- Create Office 365 object
- createClient() : AbstractHttp
- Create client
- getClient() : mixed
- Get client
- hasClient() : bool
- Has client
- parseOptions() : array<string|int, mixed>
- Parse options
- setClient() : AbstractHttp
- Set client
Properties
$client
Client
protected
mixed
$client
= null
Methods
__construct()
Create Office 365 object
public
__construct([array<string|int, mixed>|string|null $options = null ]) : mixed
Parameters
- $options : array<string|int, mixed>|string|null = null
createClient()
Create client
public
abstract createClient(array<string|int, mixed>|string $options) : AbstractHttp
Parameters
- $options : array<string|int, mixed>|string
Return values
AbstractHttpgetClient()
Get client
public
getClient() : mixed
hasClient()
Has client
public
hasClient() : bool
Return values
boolparseOptions()
Parse options
public
parseOptions(array<string|int, mixed>|string $options) : array<string|int, mixed>
Parameters
- $options : array<string|int, mixed>|string
Tags
Return values
array<string|int, mixed>setClient()
Set client
public
setClient(mixed $client) : AbstractHttp
Parameters
- $client : mixed