DefaultHttpClient class
- Extends
-
FetchHttpClient
Methoden
fetch(string, Common |
|
prepare |
|
process |
Geerbte Methoden
send |
Details zur Methode
fetch(string, CommonRequestInit)
function fetch(input: string, init?: CommonRequestInit): Promise<CommonResponse>
Parameter
- input
-
string
- init
- CommonRequestInit
Gibt zurück
Promise<CommonResponse>
prepareRequest(WebResourceLike)
function prepareRequest(httpRequest: WebResourceLike): Promise<Partial<RequestInit>>
Parameter
- httpRequest
- WebResourceLike
Gibt zurück
Promise<Partial<RequestInit>>
processRequest(HttpOperationResponse)
function processRequest(operationResponse: HttpOperationResponse): Promise<void>
Parameter
- operationResponse
- HttpOperationResponse
Gibt zurück
Promise<void>
Details zur geerbten Methode
sendRequest(WebResourceLike)
function sendRequest(httpRequest: WebResourceLike): Promise<HttpOperationResponse>
Parameter
- httpRequest
- WebResourceLike
Gibt zurück
Promise<HttpOperationResponse>
Geerbt von FetchHttpClient.sendRequest