Upravit

Sdílet prostřednictvím


NetworkUtils class

Methods

getNetworkResponse<T>(Record<string, string>, T, number)

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>