DefaultHttpClient class
- Extends
-
FetchHttpClient
Metoder
fetch(string, Common |
|
prepare |
|
process |
Ärvda metoder
send |
Metodinformation
fetch(string, CommonRequestInit)
function fetch(input: string, init?: CommonRequestInit): Promise<CommonResponse>
Parametrar
- input
-
string
- init
- CommonRequestInit
Returer
Promise<CommonResponse>
prepareRequest(WebResourceLike)
function prepareRequest(httpRequest: WebResourceLike): Promise<Partial<RequestInit>>
Parametrar
- httpRequest
- WebResourceLike
Returer
Promise<Partial<RequestInit>>
processRequest(HttpOperationResponse)
function processRequest(operationResponse: HttpOperationResponse): Promise<void>
Parametrar
- operationResponse
- HttpOperationResponse
Returer
Promise<void>
Ärvd metodinformation
sendRequest(WebResourceLike)
function sendRequest(httpRequest: WebResourceLike): Promise<HttpOperationResponse>
Parametrar
- httpRequest
- WebResourceLike
Returer
Promise<HttpOperationResponse>
Ärvd från FetchHttpClient.sendRequest