DefaultHttpClient class
- Extends
-
FetchHttpClient
Metody
fetch(string, Common |
|
prepare |
|
process |
Metody dziedziczone
send |
Szczegóły metody
fetch(string, CommonRequestInit)
function fetch(input: string, init?: CommonRequestInit): Promise<CommonResponse>
Parametry
- input
-
string
- init
- CommonRequestInit
Zwraca
Promise<CommonResponse>
prepareRequest(WebResourceLike)
function prepareRequest(httpRequest: WebResourceLike): Promise<Partial<RequestInit>>
Parametry
- httpRequest
- WebResourceLike
Zwraca
Promise<Partial<RequestInit>>
processRequest(HttpOperationResponse)
function processRequest(operationResponse: HttpOperationResponse): Promise<void>
Parametry
- operationResponse
- HttpOperationResponse
Zwraca
Promise<void>
Szczegóły metody dziedziczonej
sendRequest(WebResourceLike)
function sendRequest(httpRequest: WebResourceLike): Promise<HttpOperationResponse>
Parametry
- httpRequest
- WebResourceLike
Zwraca
Promise<HttpOperationResponse>
Dziedziczone z FetchHttpClient.sendRequest