HttpInterface
in
Http base interface
Tags
Table of Contents
Methods
- createClient() : HttpInterface
- Create client
- getClient() : mixed
- Get client
- hasClient() : bool
- Has client
- parseOptions() : array<string|int, mixed>
- Parse options
- setClient() : HttpInterface
- Set client
Methods
createClient()
Create client
public
createClient(array<string|int, mixed>|string $options) : HttpInterface
Parameters
- $options : array<string|int, mixed>|string
Return values
HttpInterfacegetClient()
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) : HttpInterface
Parameters
- $client : mixed