DefaultHttpClient class
- Extends
-
FetchHttpClient
Métodos
fetch(string, Common |
|
prepare |
|
process |
Métodos herdados
send |
Detalhes do método
fetch(string, CommonRequestInit)
function fetch(input: string, init?: CommonRequestInit): Promise<CommonResponse>
Parâmetros
- input
-
string
- init
- CommonRequestInit
Retornos
Promise<CommonResponse>
prepareRequest(WebResourceLike)
function prepareRequest(httpRequest: WebResourceLike): Promise<Partial<RequestInit>>
Parâmetros
- httpRequest
- WebResourceLike
Retornos
Promise<Partial<RequestInit>>
processRequest(HttpOperationResponse)
function processRequest(operationResponse: HttpOperationResponse): Promise<void>
Parâmetros
- operationResponse
- HttpOperationResponse
Retornos
Promise<void>
Detalhes do método herdado
sendRequest(WebResourceLike)
function sendRequest(httpRequest: WebResourceLike): Promise<HttpOperationResponse>
Parâmetros
- httpRequest
- WebResourceLike
Retornos
Promise<HttpOperationResponse>
Herdado de FetchHttpClient.sendRequest