NetworkUtils class
Methods
get |
Method Details
getNetworkResponse<T>(Record<string, string>, T, number)
static function getNetworkResponse<T>(headers: Record<string, string>, body: T, statusCode: number): NetworkResponse<T>
Parameters
- headers
-
Record<string, string>
- body
-
T
- statusCode
-
number
Returns
NetworkResponse<T>