HttpApiClient.this

class HttpApiClient()
this
(
string urlBase
,,
string submittedContentType = "application/json"
,)

Parameters

urlBase string

The base url for the api. Tends to be something like https://api.example.com/v2/ or similar.

oauth2Token string

the authorization token for the service. You'll have to get it from somewhere else.

submittedContentType string

the content-type of POST, PUT, etc. bodies.

httpClient HttpClient

an injected http client, or null if you want to use a default-constructed one

Meta

History

The httpClient param was added on December 26, 2020.