receive
Deprecated (with error)
Use `body` method instead
Replace with
this.body<T>()
Content copied to clipboard
Tries to receive the payload of the response as a specific type T.
Throws
Deprecated (with error)
Use `body` method instead
Replace with
this.body(info)
Content copied to clipboard
Tries to receive the payload of the response as a specific expected type provided in info. Returns response if info corresponds to HttpResponse.