2018-04-04 19:29:49 +03:00
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
// Licensed under the MIT License. See License.txt in the project root for license information.
|
2018-04-07 01:20:35 +03:00
|
|
|
import { RequestPolicy } from "./requestPolicy";
|
2018-04-04 19:29:49 +03:00
|
|
|
|
|
|
|
/**
|
2018-04-06 20:56:44 +03:00
|
|
|
* A function that can send HttpRequests and receive promised HttpResponses.
|
|
|
|
* @param request The HTTP request to send.
|
|
|
|
* @returns A Promise that resolves to the HttpResponse from the targeted server.
|
2018-04-04 19:29:49 +03:00
|
|
|
*/
|
2018-04-07 01:20:35 +03:00
|
|
|
export interface HttpClient extends RequestPolicy {
|
|
|
|
}
|