ResponseHelpers.PrepareResponse method (1 of 2)
Wraps a standard HttpResponseMessage
and wraps it in a byte array-returning Response
instance.
public static Task<Response> PrepareResponse(HttpResponseMessage httpResponseMessage)
parameter | description |
---|---|
httpResponseMessage |
See Also
- class Response
- class ResponseHelpers
- namespace Amica
ResponseHelpers.PrepareResponse<T> method (2 of 2)
Parses a standard HttpResponseMessage
and wraps it in a Response
instance.
public static Task<(Response<T> response, string? token)> PrepareResponse<T>(
HttpResponseMessage httpResponseMessage)
parameter | description |
---|---|
T | |
httpResponseMessage |
See Also
- class Response<T>
- class ResponseHelpers
- namespace Amica