Delen via


DefaultHttpClient class

Extends

FetchHttpClient

Methoden

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

Overgenomen methoden

sendRequest(WebResourceLike)

Methodedetails

fetch(string, CommonRequestInit)

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

Parameters

input

string

Retouren

Promise<CommonResponse>

prepareRequest(WebResourceLike)

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

Parameters

httpRequest
WebResourceLike

Retouren

Promise<Partial<RequestInit>>

processRequest(HttpOperationResponse)

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

Parameters

operationResponse
HttpOperationResponse

Retouren

Promise<void>

Details overgenomen methode

sendRequest(WebResourceLike)

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

Parameters

httpRequest
WebResourceLike

Retouren

Overgenomen van FetchHttpClient.sendRequest