Class

AbstractHttpAdapter

AbstractHttpAdapter(fetch)

The AbstractHttpAdapter class allow a CloudBlue Connect SDK consumer to wrap a preferred http client library and adapt requests and responses to in order to work with this SDK.

Constructor

# new AbstractHttpAdapter(fetch)

Create a subclass of AbstractHttpAdapter

Parameters:
Name Type Description
fetch function

the fetch function used to make the actual http call.

Members

# beforeRequest

Get or set a list of beforeRequest hook functions.