DefaultHttpClient class

Extends

FetchHttpClient

Métodos

fetch(string, CommonRequestInit)
prepareRequest(WebResourceLike)
processRequest(HttpOperationResponse)

Métodos Herdados

sendRequest(WebResourceLike)

Detalhes de Método

fetch(string, CommonRequestInit)

function fetch(input: string, init?: CommonRequestInit): Promise<CommonResponse>

Parâmetros

input

string

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

Herdado de FetchHttpClient.sendRequest