UNPKG

1.93 kBTypeScriptView Raw
1export declare const Constants: {
2 /**
3 * The ms-rest version
4 * @const
5 * @type {string}
6 */
7 msRestVersion: string;
8 /**
9 * Specifies HTTP.
10 *
11 * @const
12 * @type {string}
13 */
14 HTTP: string;
15 /**
16 * Specifies HTTPS.
17 *
18 * @const
19 * @type {string}
20 */
21 HTTPS: string;
22 /**
23 * Specifies HTTP Proxy.
24 *
25 * @const
26 * @type {string}
27 */
28 HTTP_PROXY: string;
29 /**
30 * Specifies HTTPS Proxy.
31 *
32 * @const
33 * @type {string}
34 */
35 HTTPS_PROXY: string;
36 /**
37 * Specifies NO Proxy.
38 */
39 NO_PROXY: string;
40 /**
41 * Specifies ALL Proxy.
42 */
43 ALL_PROXY: string;
44 HttpConstants: {
45 /**
46 * Http Verbs
47 *
48 * @const
49 * @enum {string}
50 */
51 HttpVerbs: {
52 PUT: string;
53 GET: string;
54 DELETE: string;
55 POST: string;
56 MERGE: string;
57 HEAD: string;
58 PATCH: string;
59 };
60 StatusCodes: {
61 TooManyRequests: number;
62 };
63 };
64 /**
65 * Defines constants for use with HTTP headers.
66 */
67 HeaderConstants: {
68 /**
69 * The Authorization header.
70 *
71 * @const
72 * @type {string}
73 */
74 AUTHORIZATION: string;
75 AUTHORIZATION_SCHEME: string;
76 /**
77 * The Retry-After response-header field can be used with a 503 (Service
78 * Unavailable) or 349 (Too Many Requests) responses to indicate how long
79 * the service is expected to be unavailable to the requesting client.
80 *
81 * @const
82 * @type {string}
83 */
84 RETRY_AFTER: string;
85 /**
86 * The UserAgent header.
87 *
88 * @const
89 * @type {string}
90 */
91 USER_AGENT: string;
92 };
93};
94//# sourceMappingURL=constants.d.ts.map
\No newline at end of file