Class for sending commands to APIs
| Methods | ||||||||
|---|---|---|---|---|---|---|---|---|
public
|
__construct(string $format = 'json')
Init
Init Parameters
|
# | ||||||
public
|
command(string $url, array $headers = [], array $post = [], $body = '', $method = false): array
Execute command
Execute command Parameters
|
# | ||||||
| Properties | |||
|---|---|---|---|
public
|
|
$last_status
|
# |
public
|
|
$format = ''
|
# |