forked from Azure/azure-sdk-for-js
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[core-https] Fix API review comments (Azure#13943)
- Fix typo in exponentialRetryPolicyName constant. - Make sure concrete HttpsClient types stay hidden.
- Loading branch information
Showing
7 changed files
with
26 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT license. | ||
|
||
export { createXhrHttpsClient as createDefaultHttpsClient } from "./xhrHttpsClient"; | ||
import { HttpsClient } from "./interfaces"; | ||
import { createXhrHttpsClient } from "./xhrHttpsClient"; | ||
|
||
/** | ||
* Create the correct HttpsClient for the current environment. | ||
*/ | ||
export function createDefaultHttpsClient(): HttpsClient { | ||
return createXhrHttpsClient(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT license. | ||
|
||
export { createNodeHttpsClient as createDefaultHttpsClient } from "./nodeHttpsClient"; | ||
import { HttpsClient } from "./interfaces"; | ||
import { createNodeHttpsClient } from "./nodeHttpsClient"; | ||
|
||
/** | ||
* Create the correct HttpsClient for the current environment. | ||
*/ | ||
export function createDefaultHttpsClient(): HttpsClient { | ||
return createNodeHttpsClient(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters