Documentation

HttpClient
in package

Table of Contents

Properties

$client  : mixed

Methods

__construct()  : mixed
get()  : mixed
post()  : mixed
handleException()  : mixed
handleResponse()  : mixed

Properties

Methods

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

        
On this page

Search results