DefaultHttpClient class
- Extends
-
FetchHttpClient
Methods
fetch(string, Common |
|
prepare |
|
process |
Inherited Methods
send |
Method Details
fetch(string, CommonRequestInit)
function fetch(input: string, init?: CommonRequestInit): Promise<CommonResponse>
Parameters
- input
-
string
- init
- CommonRequestInit
Returns
Promise<CommonResponse>
prepareRequest(WebResourceLike)
function prepareRequest(httpRequest: WebResourceLike): Promise<Partial<RequestInit>>
Parameters
- httpRequest
- WebResourceLike
Returns
Promise<Partial<RequestInit>>
processRequest(HttpOperationResponse)
function processRequest(operationResponse: HttpOperationResponse): Promise<void>
Parameters
- operationResponse
- HttpOperationResponse
Returns
Promise<void>
Inherited Method Details
sendRequest(WebResourceLike)
function sendRequest(httpRequest: WebResourceLike): Promise<HttpOperationResponse>
Parameters
- httpRequest
- WebResourceLike
Returns
Promise<HttpOperationResponse>
Inherited From FetchHttpClient.sendRequest