DefaultHttpClient class
- Extends
-
FetchHttpClient
Metody
fetch(string, Common |
|
prepare |
|
process |
Zděděné metody
send |
Podrobnosti metody
fetch(string, CommonRequestInit)
function fetch(input: string, init?: CommonRequestInit): Promise<CommonResponse>
Parametry
- input
-
string
- init
- CommonRequestInit
Návraty
Promise<CommonResponse>
prepareRequest(WebResourceLike)
function prepareRequest(httpRequest: WebResourceLike): Promise<Partial<RequestInit>>
Parametry
- httpRequest
- WebResourceLike
Návraty
Promise<Partial<RequestInit>>
processRequest(HttpOperationResponse)
function processRequest(operationResponse: HttpOperationResponse): Promise<void>
Parametry
- operationResponse
- HttpOperationResponse
Návraty
Promise<void>
Podrobnosti zděděných metod
sendRequest(WebResourceLike)
function sendRequest(httpRequest: WebResourceLike): Promise<HttpOperationResponse>
Parametry
- httpRequest
- WebResourceLike
Návraty
Promise<HttpOperationResponse>
Zděděno z FetchHttpClient.sendRequest