Freigeben über


DefaultHttpClient class

Extends

FetchHttpClient

Methoden

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

Geerbte Methoden

sendRequest(WebResourceLike)

Details zur Methode

fetch(string, CommonRequestInit)

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

Parameter

input

string

Gibt zurück

Promise<CommonResponse>

prepareRequest(WebResourceLike)

function prepareRequest(httpRequest: WebResourceLike): Promise<Partial<RequestInit>>

Parameter

httpRequest
WebResourceLike

Gibt zurück

Promise<Partial<RequestInit>>

processRequest(HttpOperationResponse)

function processRequest(operationResponse: HttpOperationResponse): Promise<void>

Parameter

operationResponse
HttpOperationResponse

Gibt zurück

Promise<void>

Details zur geerbten Methode

sendRequest(WebResourceLike)

function sendRequest(httpRequest: WebResourceLike): Promise<HttpOperationResponse>

Parameter

httpRequest
WebResourceLike

Gibt zurück

Geerbt von FetchHttpClient.sendRequest