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