@celljs/http 3.4.3 → 3.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { AxiosInstance } from 'axios';
1
+ import { AxiosInstance, AxiosResponseHeaders } from 'axios';
2
2
  export declare const RestOperations: unique symbol;
3
3
  export declare const RestOperationsFactory: unique symbol;
4
4
  export interface RestOperations extends AxiosInstance {
@@ -6,4 +6,14 @@ export interface RestOperations extends AxiosInstance {
6
6
  export interface RestOperationsFactory {
7
7
  create(): RestOperations;
8
8
  }
9
+ export interface ResponseEntity<T> {
10
+ status: number;
11
+ headers: AxiosResponseHeaders;
12
+ body: T;
13
+ }
14
+ export declare class ResponseEntityUtil {
15
+ static ok<T>(body: T, headers?: AxiosResponseHeaders): ResponseEntity<T>;
16
+ static created<T>(body: T, headers?: AxiosResponseHeaders): ResponseEntity<T>;
17
+ static noContent(): ResponseEntity<void>;
18
+ }
9
19
  //# sourceMappingURL=client-protocol.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"client-protocol.d.ts","sourceRoot":"","sources":["../../../src/common/client/client-protocol.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,eAAO,MAAM,cAAc,eAA2B,CAAC;AACvD,eAAO,MAAM,qBAAqB,eAAkC,CAAC;AAErE,MAAM,WAAW,cAAe,SAAQ,aAAa;CAEpD;AAED,MAAM,WAAW,qBAAqB;IAClC,MAAM,IAAI,cAAc,CAAC;CAC5B"}
1
+ {"version":3,"file":"client-protocol.d.ts","sourceRoot":"","sources":["../../../src/common/client/client-protocol.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAE5D,eAAO,MAAM,cAAc,eAA2B,CAAC;AACvD,eAAO,MAAM,qBAAqB,eAAkC,CAAC;AAErE,MAAM,WAAW,cAAe,SAAQ,aAAa;CAEpD;AAED,MAAM,WAAW,qBAAqB;IAClC,MAAM,IAAI,cAAc,CAAC;CAC5B;AAED,MAAM,WAAW,cAAc,CAAC,CAAC;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAG,oBAAoB,CAAC;IAC/B,IAAI,EAAE,CAAC,CAAC;CACX;AAED,qBAAa,kBAAkB;IAC3B,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,CAAC,EAAG,oBAAoB,GAAG,cAAc,CAAC,CAAC,CAAC;IAQzE,MAAM,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,CAAC,EAAE,oBAAoB,GAAG,cAAc,CAAC,CAAC,CAAC;IAQ7E,MAAM,CAAC,SAAS,IAAI,cAAc,CAAC,IAAI,CAAC;CAO3C"}
@@ -1,6 +1,30 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RestOperationsFactory = exports.RestOperations = void 0;
3
+ exports.ResponseEntityUtil = exports.RestOperationsFactory = exports.RestOperations = void 0;
4
4
  exports.RestOperations = Symbol('RestOperations');
5
5
  exports.RestOperationsFactory = Symbol('RestOperationsFactory');
6
+ class ResponseEntityUtil {
7
+ static ok(body, headers) {
8
+ return {
9
+ status: 200,
10
+ headers: headers || {},
11
+ body
12
+ };
13
+ }
14
+ static created(body, headers) {
15
+ return {
16
+ status: 201,
17
+ headers: headers || {},
18
+ body
19
+ };
20
+ }
21
+ static noContent() {
22
+ return {
23
+ status: 204,
24
+ headers: {},
25
+ body: undefined
26
+ };
27
+ }
28
+ }
29
+ exports.ResponseEntityUtil = ResponseEntityUtil;
6
30
  //# sourceMappingURL=client-protocol.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"client-protocol.js","sourceRoot":"","sources":["../../../src/common/client/client-protocol.ts"],"names":[],"mappings":";;;AAEa,QAAA,cAAc,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC;AAC1C,QAAA,qBAAqB,GAAG,MAAM,CAAC,uBAAuB,CAAC,CAAC"}
1
+ {"version":3,"file":"client-protocol.js","sourceRoot":"","sources":["../../../src/common/client/client-protocol.ts"],"names":[],"mappings":";;;AAEa,QAAA,cAAc,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC;AAC1C,QAAA,qBAAqB,GAAG,MAAM,CAAC,uBAAuB,CAAC,CAAC;AAgBrE,MAAa,kBAAkB;IAC3B,MAAM,CAAC,EAAE,CAAI,IAAO,EAAE,OAA+B;QACjD,OAAO;YACH,MAAM,EAAE,GAAG;YACX,OAAO,EAAE,OAAO,IAAI,EAAE;YACtB,IAAI;SACP,CAAC;IACN,CAAC;IAED,MAAM,CAAC,OAAO,CAAI,IAAO,EAAE,OAA8B;QACrD,OAAO;YACH,MAAM,EAAE,GAAG;YACX,OAAO,EAAE,OAAO,IAAI,EAAE;YACtB,IAAI;SACP,CAAC;IACN,CAAC;IAED,MAAM,CAAC,SAAS;QACZ,OAAO;YACH,MAAM,EAAE,GAAG;YACX,OAAO,EAAE,EAAE;YACX,IAAI,EAAE,SAAS;SAClB,CAAC;IACN,CAAC;CACJ;AAxBD,gDAwBC"}
@@ -1,304 +1,307 @@
1
1
  export declare class HttpHeaders {
2
2
  /**
3
3
  * The HTTP `Accept` header field name.
4
- * @see <a href="https://tools.ietf.org/html/rfc7231#section-5.3.2">Section 5.3.2 of RFC 7231</a>
4
+ * @see {@link https://tools.ietf.org/html/rfc7231#section-5.3.2 Section 5.3.2 of RFC 7231}
5
5
  */
6
6
  static ACCEPT: string;
7
7
  /**
8
- * The HTTP `Accept-Charset`header field name.
9
- * @see <a href="https://tools.ietf.org/html/rfc7231#section-5.3.3">Section 5.3.3 of RFC 7231</a>
8
+ * The HTTP `Accept-Charset` header field name.
9
+ * @see {@link https://tools.ietf.org/html/rfc7231#section-5.3.3 Section 5.3.3 of RFC 7231}
10
10
  */
11
11
  static ACCEPT_CHARSET: string;
12
12
  /**
13
13
  * The HTTP `Accept-Encoding` header field name.
14
- * @see <a href="https://tools.ietf.org/html/rfc7231#section-5.3.4">Section 5.3.4 of RFC 7231</a>
14
+ * @see {@link https://tools.ietf.org/html/rfc7231#section-5.3.4 Section 5.3.4 of RFC 7231}
15
15
  */
16
16
  static ACCEPT_ENCODING: string;
17
17
  /**
18
18
  * The HTTP `Accept-Language` header field name.
19
- * @see <a href="https://tools.ietf.org/html/rfc7231#section-5.3.5">Section 5.3.5 of RFC 7231</a>
19
+ * @see {@link https://tools.ietf.org/html/rfc7231#section-5.3.5 Section 5.3.5 of RFC 7231}
20
20
  */
21
21
  static ACCEPT_LANGUAGE: string;
22
22
  /**
23
23
  * The HTTP `Accept-Ranges` header field name.
24
- * @see <a href="https://tools.ietf.org/html/rfc7233#section-2.3">Section 5.3.5 of RFC 7233</a>
24
+ * @see {@link https://tools.ietf.org/html/rfc7233#section-2.3 Section 5.3.5 of RFC 7233}
25
25
  */
26
26
  static ACCEPT_RANGES: string;
27
27
  /**
28
28
  * The CORS `Access-Control-Allow-Credentials` response header field name.
29
- * @see <a href="http://www.w3.org/TR/cors/">CORS W3C recommendation</a>
29
+ * @see {@link http://www.w3.org/TR/cors/ CORS W3C recommendation}
30
30
  */
31
31
  static ACCESS_CONTROL_ALLOW_CREDENTIALS: string;
32
32
  /**
33
33
  * The CORS `Access-Control-Allow-Headers` response header field name.
34
- * @see <a href="http://www.w3.org/TR/cors/">CORS W3C recommendation</a>
34
+ * @see {@link http://www.w3.org/TR/cors/ CORS W3C recommendation}
35
35
  */
36
36
  static ACCESS_CONTROL_ALLOW_HEADERS: string;
37
37
  /**
38
38
  * The CORS `Access-Control-Allow-Methods` response header field name.
39
- * @see <a href="http://www.w3.org/TR/cors/">CORS W3C recommendation</a>
39
+ * @see {@link http://www.w3.org/TR/cors/ CORS W3C recommendation}
40
40
  */
41
41
  static ACCESS_CONTROL_ALLOW_METHODS: string;
42
42
  /**
43
43
  * The CORS `Access-Control-Allow-Origin` response header field name.
44
- * @see <a href="http://www.w3.org/TR/cors/">CORS W3C recommendation</a>
44
+ * @see {@link http://www.w3.org/TR/cors/ CORS W3C recommendation}
45
45
  */
46
46
  static ACCESS_CONTROL_ALLOW_ORIGIN: string;
47
47
  /**
48
48
  * The CORS `Access-Control-Expose-Headers` response header field name.
49
- * @see <a href="http://www.w3.org/TR/cors/">CORS W3C recommendation</a>
49
+ * @see {@link http://www.w3.org/TR/cors/ CORS W3C recommendation}
50
50
  */
51
51
  static ACCESS_CONTROL_EXPOSE_HEADERS: string;
52
52
  /**
53
53
  * The CORS `Access-Control-Max-Age` response header field name.
54
- * @see <a href="http://www.w3.org/TR/cors/">CORS W3C recommendation</a>
54
+ * @see {@link http://www.w3.org/TR/cors/ CORS W3C recommendation}
55
55
  */
56
56
  static ACCESS_CONTROL_MAX_AGE: string;
57
57
  /**
58
58
  * The CORS `Access-Control-Request-Headers` request header field name.
59
- * @see <a href="http://www.w3.org/TR/cors/">CORS W3C recommendation</a>
59
+ * @see {@link http://www.w3.org/TR/cors/ CORS W3C recommendation}
60
60
  */
61
61
  static ACCESS_CONTROL_REQUEST_HEADERS: string;
62
62
  /**
63
63
  * The CORS `Access-Control-Request-Method` request header field name.
64
- * @see <a href="http://www.w3.org/TR/cors/">CORS W3C recommendation</a>
64
+ * @see {@link http://www.w3.org/TR/cors/ CORS W3C recommendation}
65
65
  */
66
66
  static ACCESS_CONTROL_REQUEST_METHOD: string;
67
67
  /**
68
68
  * The HTTP `Age` header field name.
69
- * @see <a href="https://tools.ietf.org/html/rfc7234#section-5.1">Section 5.1 of RFC 7234</a>
69
+ * @see {@link https://tools.ietf.org/html/rfc7234#section-5.1 Section 5.1 of RFC 7234}
70
70
  */
71
71
  static AGE: string;
72
72
  /**
73
73
  * The HTTP `Allow` header field name.
74
- * @see <a href="https://tools.ietf.org/html/rfc7231#section-7.4.1">Section 7.4.1 of RFC 7231</a>
74
+ * @see {@link https://tools.ietf.org/html/rfc7231#section-7.4.1 Section 7.4.1 of RFC 7231}
75
75
  */
76
76
  static ALLOW: string;
77
77
  /**
78
78
  * The HTTP `Authorization` header field name.
79
- * @see <a href="https://tools.ietf.org/html/rfc7235#section-4.2">Section 4.2 of RFC 7235</a>
79
+ * @see {@link https://tools.ietf.org/html/rfc7235#section-4.2 Section 4.2 of RFC 7235}
80
80
  */
81
81
  static AUTHORIZATION: string;
82
82
  /**
83
83
  * The HTTP `Cache-Control` header field name.
84
- * @see <a href="https://tools.ietf.org/html/rfc7234#section-5.2">Section 5.2 of RFC 7234</a>
84
+ * @see {@link https://tools.ietf.org/html/rfc7234#section-5.2 Section 5.2 of RFC 7234}
85
85
  */
86
86
  static CACHE_CONTROL: string;
87
87
  /**
88
88
  * The HTTP `Connection` header field name.
89
- * @see <a href="https://tools.ietf.org/html/rfc7230#section-6.1">Section 6.1 of RFC 7230</a>
89
+ * @see {@link https://tools.ietf.org/html/rfc7230#section-6.1 Section 6.1 of RFC 7230}
90
90
  */
91
91
  static CONNECTION: string;
92
92
  /**
93
93
  * The HTTP `Content-Encoding` header field name.
94
- * @see <a href="https://tools.ietf.org/html/rfc7231#section-3.1.2.2">Section 3.1.2.2 of RFC 7231</a>
94
+ * @see {@link https://tools.ietf.org/html/rfc7231#section-3.1.2.2 Section 3.1.2.2 of RFC 7231}
95
95
  */
96
96
  static CONTENT_ENCODING: string;
97
97
  /**
98
98
  * The HTTP `Content-Disposition` header field name.
99
- * @see <a href="https://tools.ietf.org/html/rfc6266">RFC 6266</a>
99
+ * @see {@link https://tools.ietf.org/html/rfc6266 RFC 6266}
100
100
  */
101
101
  static CONTENT_DISPOSITION: string;
102
102
  /**
103
103
  * The HTTP `Content-Language` header field name.
104
- * @see <a href="https://tools.ietf.org/html/rfc7231#section-3.1.3.2">Section 3.1.3.2 of RFC 7231</a>
104
+ * @see {@link https://tools.ietf.org/html/rfc7231#section-3.1.3.2 Section 3.1.3.2 of RFC 7231}
105
105
  */
106
106
  static CONTENT_LANGUAGE: string;
107
107
  /**
108
- * The HTTP `Content-Length`header field name.
109
- * @see <a href="https://tools.ietf.org/html/rfc7230#section-3.3.2">Section 3.3.2 of RFC 7230</a>
108
+ * The HTTP `Content-Length` header field name.
109
+ * @see {@link https://tools.ietf.org/html/rfc7230#section-3.3.2 Section 3.3.2 of RFC 7230}
110
110
  */
111
111
  static CONTENT_LENGTH: string;
112
112
  /**
113
- * The HTTP `Content-Location`header field name.
114
- * @see <a href="https://tools.ietf.org/html/rfc7231#section-3.1.4.2">Section 3.1.4.2 of RFC 7231</a>
113
+ * The HTTP `Content-Location` header field name.
114
+ * @see {@link https://tools.ietf.org/html/rfc7231#section-3.1.4.2 Section 3.1.4.2 of RFC 7231}
115
115
  */
116
116
  static CONTENT_LOCATION: string;
117
117
  /**
118
- * The HTTP `Content-Range`header field name.
119
- * @see <a href="https://tools.ietf.org/html/rfc7233#section-4.2">Section 4.2 of RFC 7233</a>
118
+ * The HTTP `Content-Range` header field name.
119
+ * @see {@link https://tools.ietf.org/html/rfc7233#section-4.2 Section 4.2 of RFC 7233}
120
120
  */
121
121
  static CONTENT_RANGE: string;
122
122
  /**
123
- * The HTTP `Content-Type`header field name.
124
- * @see <a href="https://tools.ietf.org/html/rfc7231#section-3.1.1.5">Section 3.1.1.5 of RFC 7231</a>
123
+ * The HTTP `Content-Type` header field name.
124
+ * @see {@link https://tools.ietf.org/html/rfc7231#section-3.1.1.5 Section 3.1.1.5 of RFC 7231}
125
125
  */
126
126
  static CONTENT_TYPE: string;
127
127
  /**
128
- * The HTTP `Cookie`header field name.
129
- * @see <a href="https://tools.ietf.org/html/rfc2109#section-4.3.4">Section 4.3.4 of RFC 2109</a>
128
+ * The HTTP `Cookie` header field name.
129
+ * @see {@link https://tools.ietf.org/html/rfc2109#section-4.3.4 Section 4.3.4 of RFC 2109}
130
130
  */
131
131
  static COOKIE: string;
132
132
  /**
133
- * The HTTP `Date`header field name.
134
- * @see <a href="https://tools.ietf.org/html/rfc7231#section-7.1.1.2">Section 7.1.1.2 of RFC 7231</a>
133
+ * The HTTP `Date` header field name.
134
+ * @see {@link https://tools.ietf.org/html/rfc7231#section-7.1.1.2 Section 7.1.1.2 of RFC 7231}
135
135
  */
136
136
  static DATE: string;
137
137
  /**
138
- * The HTTP `ETag`header field name.
139
- * @see <a href="https://tools.ietf.org/html/rfc7232#section-2.3">Section 2.3 of RFC 7232</a>
138
+ * The HTTP `ETag` header field name.
139
+ * @see {@link https://tools.ietf.org/html/rfc7232#section-2.3 Section 2.3 of RFC 7232}
140
140
  */
141
141
  static ETAG: string;
142
142
  /**
143
- * The HTTP `Expect`header field name.
144
- * @see <a href="https://tools.ietf.org/html/rfc7231#section-5.1.1">Section 5.1.1 of RFC 7231</a>
143
+ * The HTTP `Expect` header field name.
144
+ * @see {@link https://tools.ietf.org/html/rfc7231#section-5.1.1 Section 5.1.1 of RFC 7231}
145
145
  */
146
146
  static EXPECT: string;
147
147
  /**
148
- * The HTTP `Expires`header field name.
149
- * @see <a href="https://tools.ietf.org/html/rfc7234#section-5.3">Section 5.3 of RFC 7234</a>
148
+ * The HTTP `Expires` header field name.
149
+ * @see {@link https://tools.ietf.org/html/rfc7234#section-5.3 Section 5.3 of RFC 7234}
150
150
  */
151
151
  static EXPIRES: string;
152
152
  /**
153
- * The HTTP `From`header field name.
154
- * @see <a href="https://tools.ietf.org/html/rfc7231#section-5.5.1">Section 5.5.1 of RFC 7231</a>
153
+ * The HTTP `From` header field name.
154
+ * @see {@link https://tools.ietf.org/html/rfc7231#section-5.5.1 Section 5.5.1 of RFC 7231}
155
155
  */
156
156
  static FROM: string;
157
157
  /**
158
- * The HTTP `Host`header field name.
159
- * @see <a href="https://tools.ietf.org/html/rfc7230#section-5.4">Section 5.4 of RFC 7230</a>
158
+ * The HTTP `Host` header field name.
159
+ * @see {@link https://tools.ietf.org/html/rfc7230#section-5.4 Section 5.4 of RFC 7230}
160
160
  */
161
161
  static HOST: string;
162
162
  /**
163
- * The HTTP `If-Match`header field name.
164
- * @see <a href="https://tools.ietf.org/html/rfc7232#section-3.1">Section 3.1 of RFC 7232</a>
163
+ * The HTTP `If-Match` header field name.
164
+ * @see {@link https://tools.ietf.org/html/rfc7232#section-3.1 Section 3.1 of RFC 7232}
165
165
  */
166
166
  static IF_MATCH: string;
167
167
  /**
168
- * The HTTP `If-Modified-Since`header field name.
169
- * @see <a href="https://tools.ietf.org/html/rfc7232#section-3.3">Section 3.3 of RFC 7232</a>
168
+ * The HTTP `If-Modified-Since` header field name.
169
+ * @see {@link https://tools.ietf.org/html/rfc7232#section-3.3 Section 3.3 of RFC 7232}
170
170
  */
171
171
  static IF_MODIFIED_SINCE: string;
172
172
  /**
173
- * The HTTP `If-None-Match`header field name.
174
- * @see <a href="https://tools.ietf.org/html/rfc7232#section-3.2">Section 3.2 of RFC 7232</a>
173
+ * The HTTP `If-None-Match` header field name.
174
+ * @see {@link https://tools.ietf.org/html/rfc7232#section-3.2 Section 3.2 of RFC 7232}
175
175
  */
176
176
  static IF_NONE_MATCH: string;
177
177
  /**
178
- * The HTTP `If-Range`header field name.
179
- * @see <a href="https://tools.ietf.org/html/rfc7233#section-3.2">Section 3.2 of RFC 7233</a>
178
+ * The HTTP `If-Range` header field name.
179
+ * @see {@link https://tools.ietf.org/html/rfc7233#section-3.2 Section 3.2 of RFC 7233}
180
180
  */
181
181
  static IF_RANGE: string;
182
182
  /**
183
- * The HTTP `If-Unmodified-Since`header field name.
184
- * @see <a href="https://tools.ietf.org/html/rfc7232#section-3.4">Section 3.4 of RFC 7232</a>
183
+ * The HTTP `If-Unmodified-Since` header field name.
184
+ * @see {@link https://tools.ietf.org/html/rfc7232#section-3.4 Section 3.4 of RFC 7232}
185
185
  */
186
186
  static IF_UNMODIFIED_SINCE: string;
187
187
  /**
188
- * The HTTP `Last-Modified`header field name.
189
- * @see <a href="https://tools.ietf.org/html/rfc7232#section-2.2">Section 2.2 of RFC 7232</a>
188
+ * The HTTP `Last-Modified` header field name.
189
+ * @see {@link https://tools.ietf.org/html/rfc7232#section-2.2 Section 2.2 of RFC 7232}
190
190
  */
191
191
  static LAST_MODIFIED: string;
192
192
  /**
193
- * The HTTP `Link`header field name.
194
- * @see <a href="https://tools.ietf.org/html/rfc5988">RFC 5988</a>
193
+ * The HTTP `Link` header field name.
194
+ * @see {@link https://tools.ietf.org/html/rfc5988 RFC 5988}
195
195
  */
196
196
  static LINK: string;
197
197
  /**
198
- * The HTTP `Location`header field name.
199
- * @see <a href="https://tools.ietf.org/html/rfc7231#section-7.1.2">Section 7.1.2 of RFC 7231</a>
198
+ * The HTTP `Location` header field name.
199
+ * @see {@link https://tools.ietf.org/html/rfc7231#section-7.1.2 Section 7.1.2 of RFC 7231}
200
200
  */
201
201
  static LOCATION: string;
202
202
  /**
203
- * The HTTP `Max-Forwards`header field name.
204
- * @see <a href="https://tools.ietf.org/html/rfc7231#section-5.1.2">Section 5.1.2 of RFC 7231</a>
203
+ * The HTTP `Max-Forwards` header field name.
204
+ * @see {@link https://tools.ietf.org/html/rfc7231#section-5.1.2 Section 5.1.2 of RFC 7231}
205
205
  */
206
206
  static MAX_FORWARDS: string;
207
207
  /**
208
- * The HTTP `Origin`header field name.
209
- * @see <a href="https://tools.ietf.org/html/rfc6454">RFC 6454</a>
208
+ * The HTTP `Origin` header field name.
209
+ * @see {@link https://tools.ietf.org/html/rfc6454 RFC 6454}
210
210
  */
211
211
  static ORIGIN: string;
212
212
  /**
213
- * The HTTP `Pragma`header field name.
214
- * @see <a href="https://tools.ietf.org/html/rfc7234#section-5.4">Section 5.4 of RFC 7234</a>
213
+ * The HTTP `Pragma` header field name.
214
+ * @see {@link https://tools.ietf.org/html/rfc7234#section-5.4 Section 5.4 of RFC 7234}
215
215
  */
216
216
  static PRAGMA: string;
217
217
  /**
218
- * The HTTP `Proxy-Authenticate`header field name.
219
- * @see <a href="https://tools.ietf.org/html/rfc7235#section-4.3">Section 4.3 of RFC 7235</a>
218
+ * The HTTP `Proxy-Authenticate` header field name.
219
+ * @see {@link https://tools.ietf.org/html/rfc7235#section-4.3 Section 4.3 of RFC 7235}
220
220
  */
221
221
  static PROXY_AUTHENTICATE: string;
222
222
  /**
223
- * The HTTP `Proxy-Authorization`header field name.
224
- * @see <a href="https://tools.ietf.org/html/rfc7235#section-4.4">Section 4.4 of RFC 7235</a>
223
+ * The HTTP `Proxy-Authorization` header field name.
224
+ * @see {@link https://tools.ietf.org/html/rfc7235#section-4.4 Section 4.4 of RFC 7235}
225
225
  */
226
226
  static PROXY_AUTHORIZATION: string;
227
227
  /**
228
- * The HTTP `Range`header field name.
229
- * @see <a href="https://tools.ietf.org/html/rfc7233#section-3.1">Section 3.1 of RFC 7233</a>
228
+ * The HTTP `Range` header field name.
229
+ * @see {@link https://tools.ietf.org/html/rfc7233#section-3.1 Section 3.1 of RFC 7233}
230
230
  */
231
231
  static RANGE: string;
232
232
  /**
233
- * The HTTP `Referer`header field name.
234
- * @see <a href="https://tools.ietf.org/html/rfc7231#section-5.5.2">Section 5.5.2 of RFC 7231</a>
233
+ * The HTTP `Referer` header field name.
234
+ * @see {@link https://tools.ietf.org/html/rfc7231#section-5.5.2 Section 5.5.2 of RFC 7231}
235
235
  */
236
236
  static REFERER: string;
237
237
  /**
238
- * The HTTP `Retry-After`header field name.
239
- * @see <a href="https://tools.ietf.org/html/rfc7231#section-7.1.3">Section 7.1.3 of RFC 7231</a>
238
+ * The HTTP `Retry-After` header field name.
239
+ * @see {@link https://tools.ietf.org/html/rfc7231#section-7.1.3 Section 7.1.3 of RFC 7231}
240
240
  */
241
241
  static RETRY_AFTER: string;
242
242
  /**
243
- * The HTTP `Server`header field name.
244
- * @see <a href="https://tools.ietf.org/html/rfc7231#section-7.4.2">Section 7.4.2 of RFC 7231</a>
243
+ * The HTTP `Server` header field name.
244
+ * @see {@link https://tools.ietf.org/html/rfc7231#section-7.4.2 Section 7.4.2 of RFC 7231}
245
245
  */
246
246
  static SERVER: string;
247
247
  /**
248
- * The HTTP `Set-Cookie`header field name.
249
- * @see <a href="https://tools.ietf.org/html/rfc2109#section-4.2.2">Section 4.2.2 of RFC 2109</a>
248
+ * The HTTP `Set-Cookie` header field name.
249
+ * @see {@link https://tools.ietf.org/html/rfc2109#section-4.2.2 Section 4.2.2 of RFC 2109}
250
250
  */
251
251
  static SET_COOKIE: string;
252
252
  /**
253
- * The HTTP `Set-Cookie2`header field name.
254
- * @see <a href="https://tools.ietf.org/html/rfc2965">RFC 2965</a>
253
+ * The HTTP `Set-Cookie2` header field name.
254
+ * @see {@link https://tools.ietf.org/html/rfc2965 RFC 2965}
255
255
  */
256
256
  static SET_COOKIE2: string;
257
257
  /**
258
- * The HTTP `TE`header field name.
259
- * @see <a href="https://tools.ietf.org/html/rfc7230#section-4.3">Section 4.3 of RFC 7230</a>
258
+ * The HTTP `TE` header field name.
259
+ * @see {@link https://tools.ietf.org/html/rfc7230#section-4.3 Section 4.3 of RFC 7230}
260
260
  */
261
261
  static TE: string;
262
262
  /**
263
- * The HTTP `Trailer`header field name.
264
- * @see <a href="https://tools.ietf.org/html/rfc7230#section-4.4">Section 4.4 of RFC 7230</a>
263
+ * The HTTP `Trailer` header field name.
264
+ * @see {@link https://tools.ietf.org/html/rfc7230#section-4.4 Section 4.4 of RFC 7230}
265
265
  */
266
266
  static TRAILER: string;
267
267
  /**
268
- * The HTTP `Transfer-Encoding`header field name.
269
- * @see <a href="https://tools.ietf.org/html/rfc7230#section-3.3.1">Section 3.3.1 of RFC 7230</a>
268
+ * The HTTP `Transfer-Encoding` header field name.
269
+ * @see {@link https://tools.ietf.org/html/rfc7230#section-3.3.1 Section 3.3.1 of RFC 7230}
270
270
  */
271
271
  static TRANSFER_ENCODING: string;
272
272
  /**
273
- * The HTTP `Upgrade`header field name.
274
- * @see <a href="https://tools.ietf.org/html/rfc7230#section-6.7">Section 6.7 of RFC 7230</a>
273
+ * The HTTP `Upgrade` header field name.
274
+ * @see {@link https://tools.ietf.org/html/rfc7230#section-6.7 Section 6.7 of RFC 7230}
275
275
  */
276
276
  static UPGRADE: string;
277
277
  /**
278
- * The HTTP `User-Agent`header field name.
279
- * @see <a href="https://tools.ietf.org/html/rfc7231#section-5.5.3">Section 5.5.3 of RFC 7231</a>
278
+ * The HTTP `User-Agent` header field name.
279
+ * @see {@link https://tools.ietf.org/html/rfc7231#section-5.5.3 Section 5.5.3 of RFC 7231}
280
280
  */
281
281
  static USER_AGENT: string;
282
282
  /**
283
- * The HTTP `Vary`header field name.
284
- * @see <a href="https://tools.ietf.org/html/rfc7231#section-7.1.4">Section 7.1.4 of RFC 7231</a>
283
+ * The HTTP `Vary` header field name.
284
+ * @see {@link https://tools.ietf.org/html/rfc7231#section-7.1.4 Section 7.1.4 of RFC 7231}
285
285
  */
286
286
  static VARY: string;
287
287
  /**
288
- * The HTTP `Via`header field name.
289
- * @see <a href="https://tools.ietf.org/html/rfc7230#section-5.7.1">Section 5.7.1 of RFC 7230</a>
288
+ * The HTTP `Via` header field name.
289
+ * @see {@link https://tools.ietf.org/html/rfc7230#section-5.7.1 Section 5.7.1 of RFC 7230}
290
290
  */
291
291
  static VIA: string;
292
292
  /**
293
- * The HTTP `Warning`header field name.
294
- * @see <a href="https://tools.ietf.org/html/rfc7234#section-5.5">Section 5.5 of RFC 7234</a>
293
+ * The HTTP `Warning` header field name.
294
+ * @see {@link https://tools.ietf.org/html/rfc7234#section-5.5 Section 5.5 of RFC 7234}
295
295
  */
296
296
  static WARNING: string;
297
297
  /**
298
- * The HTTP `WWW-Authenticate`header field name.
299
- * @see <a href="https://tools.ietf.org/html/rfc7235#section-4.1">Section 4.1 of RFC 7235</a>
298
+ * The HTTP `WWW-Authenticate` header field name.
299
+ * @see {@link https://tools.ietf.org/html/rfc7235#section-4.1 Section 4.1 of RFC 7235}
300
300
  */
301
301
  static WWW_AUTHENTICATE: string;
302
+ /**
303
+ * The HTTP `X-Requested-With` header field name.
304
+ */
302
305
  static X_REQUESTED_WITH: string;
303
306
  }
304
307
  //# sourceMappingURL=http-headers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"http-headers.d.ts","sourceRoot":"","sources":["../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