Table of Contents
Properties
-
$client
: mixed
Methods
-
__construct()
: mixed
-
get()
: mixed
-
post()
: mixed
-
handleException()
: mixed
-
handleResponse()
: mixed
$client
private
mixed
$client
__construct()
public
__construct() : mixed
get()
public
get(string $url) : mixed
Parameters
-
$url
: string
-
post()
public
post(string $url, mixed $payload) : mixed
Parameters
-
$url
: string
-
-
$payload
: mixed
-
handleException()
private
handleException(RequestException $e) : mixed
Parameters
-
$e
: RequestException
-
handleResponse()
private
handleResponse(mixed $response) : mixed
Parameters
-
$response
: mixed
-