Methods
sendGetRequestAsync
- sendGetRequestAsync<T>(url: string, options?: NetworkRequestOptions): Promise<NetworkResponse<T>>
-
Type parameters
Parameters
-
url: string
-
Optional options: NetworkRequestOptions
Returns Promise<NetworkResponse<T>>
sendPostRequestAsync
- sendPostRequestAsync<T>(url: string, options?: NetworkRequestOptions): Promise<NetworkResponse<T>>
-
Type parameters
Parameters
-
url: string
-
Optional options: NetworkRequestOptions
Returns Promise<NetworkResponse<T>>
This class implements the API for network requests.