UNPKG

512 BJavaScriptView Raw
1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the MIT License. See License.txt in the project root for license information.
3export function getDefaultUserAgentKey() {
4 return "x-ms-command-name";
5}
6export function getPlatformSpecificData() {
7 var navigator = self.navigator;
8 var osInfo = {
9 key: "OS",
10 value: (navigator.oscpu || navigator.platform).replace(" ", ""),
11 };
12 return [osInfo];
13}
14//# sourceMappingURL=msRestUserAgentPolicy.browser.js.map
\No newline at end of file