DefaultHttpClient class

Extends

FetchHttpClient

Methods

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

Inherited Methods

sendRequest(WebResourceLike)

Method Details

fetch(string, CommonRequestInit)

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

Parameters

input

string

Returns

Promise<CommonResponse>

prepareRequest(WebResourceLike)

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

Parameters

httpRequest
WebResourceLike

Returns

Promise<Partial<RequestInit>>

processRequest(HttpOperationResponse)

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

Parameters

operationResponse
HttpOperationResponse

Returns

Promise<void>

Inherited Method Details

sendRequest(WebResourceLike)

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

Parameters

httpRequest
WebResourceLike

Returns

Inherited From FetchHttpClient.sendRequest