DefaultHttpClient class
- Extends
-
FetchHttpClient
Metodi
fetch(string, Common |
|
prepare |
|
process |
Metodi ereditati
send |
Dettagli metodo
fetch(string, CommonRequestInit)
function fetch(input: string, init?: CommonRequestInit): Promise<CommonResponse>
Parametri
- input
-
string
- init
- CommonRequestInit
Restituisce
Promise<CommonResponse>
prepareRequest(WebResourceLike)
function prepareRequest(httpRequest: WebResourceLike): Promise<Partial<RequestInit>>
Parametri
- httpRequest
- WebResourceLike
Restituisce
Promise<Partial<RequestInit>>
processRequest(HttpOperationResponse)
function processRequest(operationResponse: HttpOperationResponse): Promise<void>
Parametri
- operationResponse
- HttpOperationResponse
Restituisce
Promise<void>
Dettagli dei metodi ereditati
sendRequest(WebResourceLike)
function sendRequest(httpRequest: WebResourceLike): Promise<HttpOperationResponse>
Parametri
- httpRequest
- WebResourceLike
Restituisce
Promise<HttpOperationResponse>
Ereditato da FetchHttpClient.sendRequest