0.50.0
(feat):
All endpoint functions now return an HttpResponsePromise<T>
instead of a Promise<T>
.
Using await
, .then()
, .catch()
, and .finally()
on these promises behave the same as before,
but you can call .withRawResponse()
to get a promise that includes the parsed response and the raw response.
The raw response let’s you retrieve the response headers, status code, etc.