DefaultHttpClient class
- Extends
-
FetchHttpClient
Métodos
fetch(string, Common |
|
prepare |
|
process |
Métodos heredados
send |
Detalles del método
fetch(string, CommonRequestInit)
function fetch(input: string, init?: CommonRequestInit): Promise<CommonResponse>
Parámetros
- input
-
string
- init
- CommonRequestInit
Devoluciones
Promise<CommonResponse>
prepareRequest(WebResourceLike)
function prepareRequest(httpRequest: WebResourceLike): Promise<Partial<RequestInit>>
Parámetros
- httpRequest
- WebResourceLike
Devoluciones
Promise<Partial<RequestInit>>
processRequest(HttpOperationResponse)
function processRequest(operationResponse: HttpOperationResponse): Promise<void>
Parámetros
- operationResponse
- HttpOperationResponse
Devoluciones
Promise<void>
Detalles de los métodos heredados
sendRequest(WebResourceLike)
function sendRequest(httpRequest: WebResourceLike): Promise<HttpOperationResponse>
Parámetros
- httpRequest
- WebResourceLike
Devoluciones
Promise<HttpOperationResponse>
Heredado de FetchHttpClient.sendRequest