ReadonlyarrayConverts an array buffer Response to
ReadonlyblobConverts a blob Response to
ReadonlyemptyConverts an empty Response to
ReadonlyjsonConverts a JSON Response to TypedResponse.
ReadonlytextConverts a text Response to
Static ReadonlydefaultBy default, TypedResponse.value conversion methods only assign TypedResponse.value when Response.status === 200
StaticarrayStaticblobStaticjsonConverts a JSON Response to TypedResponse.
StaticstatusDefault is that TypedResponse.value is only valid if Response.status === 200 for
responses sent into arrayBuffer, json, text and blob. Call this method
to create a custom HttpResponseType where TypedResponse.value can be assigned for other status values
as well.
Example: A conflict response may still contain data which should be assigned to TypedResponse.value.
Statictext
Used with TwinfinityApiClient.get to convert responses to correct data. See TwinfinityApiClient.get for an example.