abstract class HttpBase (View source)

Base class for Http Client

Properties

protected MangoPayApi $_root

Root/parent instance that holds the OAuthToken and Configuration instance

protected LoggerInterface|NullLogger $logger

Root/parent instance logger

Methods

__construct(MangoPayApi $root)

Constructor

Request(RestTool $restTool)

No description

Details

__construct(MangoPayApi $root)

Constructor

Parameters

MangoPayApi $root

Root/parent instance that holds the OAuthToken and Configuration instance

abstract HttpResponse Request(RestTool $restTool)

No description

Parameters

RestTool $restTool

Return Value

HttpResponse