HttpClient interface
An interface that can send HttpRequests and receive promised HttpResponses.
- Extends
Inherited Methods
send |
A method that retrieves an HttpOperationResponse given a WebResourceLike describing the request to be made. |
Inherited Method Details
sendRequest(WebResourceLike)
A method that retrieves an HttpOperationResponse given a WebResourceLike describing the request to be made.
function sendRequest(httpRequest: WebResourceLike): Promise<HttpOperationResponse>
Parameters
- httpRequest
- WebResourceLike
WebResourceLike describing the request to be made.
Returns
Promise<HttpOperationResponse>
Inherited From RequestPolicy.sendRequest