hyperttp 0.2.5 → 0.3.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.
Files changed (148) hide show
  1. package/Hyperttp/Client/HyperClient.d.ts +30 -0
  2. package/Hyperttp/Client/HyperClient.d.ts.map +1 -0
  3. package/Hyperttp/Client/HyperClient.js +215 -0
  4. package/Hyperttp/Client/HyperClient.js.map +1 -0
  5. package/{dist/Hyperttp → Hyperttp}/Request.d.ts +1 -1
  6. package/{dist/Hyperttp → Hyperttp}/Request.d.ts.map +1 -1
  7. package/{dist/Hyperttp → Hyperttp}/Request.js +2 -7
  8. package/Hyperttp/Request.js.map +1 -0
  9. package/{dist/Hyperttp → Hyperttp}/UrlExtractor.d.ts +1 -1
  10. package/{dist/Hyperttp → Hyperttp}/UrlExtractor.d.ts.map +1 -1
  11. package/{dist/Hyperttp → Hyperttp}/UrlExtractor.js +1 -4
  12. package/Hyperttp/UrlExtractor.js.map +1 -0
  13. package/Hyperttp/Utils/RequestBuilder.d.ts +32 -0
  14. package/Hyperttp/Utils/RequestBuilder.d.ts.map +1 -0
  15. package/Hyperttp/Utils/RequestBuilder.js +129 -0
  16. package/Hyperttp/Utils/RequestBuilder.js.map +1 -0
  17. package/Hyperttp/Utils/index.d.ts +2 -0
  18. package/Hyperttp/Utils/index.d.ts.map +1 -0
  19. package/Hyperttp/Utils/index.js +2 -0
  20. package/Hyperttp/Utils/index.js.map +1 -0
  21. package/Hyperttp/Utils/merge.d.ts +2 -0
  22. package/Hyperttp/Utils/merge.d.ts.map +1 -0
  23. package/Hyperttp/Utils/merge.js +25 -0
  24. package/Hyperttp/Utils/merge.js.map +1 -0
  25. package/Hyperttp/defaultConfig.d.ts +3 -0
  26. package/Hyperttp/defaultConfig.d.ts.map +1 -0
  27. package/Hyperttp/defaultConfig.js +39 -0
  28. package/Hyperttp/defaultConfig.js.map +1 -0
  29. package/Hyperttp/index.d.ts +6 -0
  30. package/Hyperttp/index.d.ts.map +1 -0
  31. package/Hyperttp/index.js +6 -0
  32. package/Hyperttp/index.js.map +1 -0
  33. package/{dist/Types → Types}/http-client.d.ts +3 -7
  34. package/Types/http-client.d.ts.map +1 -0
  35. package/Types/http-client.js +2 -0
  36. package/Types/index.d.ts +3 -0
  37. package/Types/index.d.ts.map +1 -0
  38. package/Types/index.js +3 -0
  39. package/Types/index.js.map +1 -0
  40. package/Types/url-extractor.js +2 -0
  41. package/index.d.ts +13 -0
  42. package/index.d.ts.map +1 -0
  43. package/index.js +12 -0
  44. package/index.js.map +1 -0
  45. package/package.json +22 -11
  46. package/LICENSE +0 -21
  47. package/README.md +0 -82
  48. package/dist/Hyperttp/Core/CacheManager.d.ts +0 -84
  49. package/dist/Hyperttp/Core/CacheManager.d.ts.map +0 -1
  50. package/dist/Hyperttp/Core/CacheManager.js +0 -109
  51. package/dist/Hyperttp/Core/CacheManager.js.map +0 -1
  52. package/dist/Hyperttp/Core/HttpClientImproved.d.ts +0 -149
  53. package/dist/Hyperttp/Core/HttpClientImproved.d.ts.map +0 -1
  54. package/dist/Hyperttp/Core/HttpClientImproved.js +0 -533
  55. package/dist/Hyperttp/Core/HttpClientImproved.js.map +0 -1
  56. package/dist/Hyperttp/Core/InterceptorManager.d.ts +0 -62
  57. package/dist/Hyperttp/Core/InterceptorManager.d.ts.map +0 -1
  58. package/dist/Hyperttp/Core/InterceptorManager.js +0 -64
  59. package/dist/Hyperttp/Core/InterceptorManager.js.map +0 -1
  60. package/dist/Hyperttp/Core/MetricsManager.d.ts +0 -71
  61. package/dist/Hyperttp/Core/MetricsManager.d.ts.map +0 -1
  62. package/dist/Hyperttp/Core/MetricsManager.js +0 -229
  63. package/dist/Hyperttp/Core/MetricsManager.js.map +0 -1
  64. package/dist/Hyperttp/Core/QueueManager.d.ts +0 -16
  65. package/dist/Hyperttp/Core/QueueManager.d.ts.map +0 -1
  66. package/dist/Hyperttp/Core/QueueManager.js +0 -69
  67. package/dist/Hyperttp/Core/QueueManager.js.map +0 -1
  68. package/dist/Hyperttp/Core/RateLimiter.d.ts +0 -63
  69. package/dist/Hyperttp/Core/RateLimiter.d.ts.map +0 -1
  70. package/dist/Hyperttp/Core/RateLimiter.js +0 -166
  71. package/dist/Hyperttp/Core/RateLimiter.js.map +0 -1
  72. package/dist/Hyperttp/Core/RequestBuilder.d.ts +0 -83
  73. package/dist/Hyperttp/Core/RequestBuilder.d.ts.map +0 -1
  74. package/dist/Hyperttp/Core/RequestBuilder.js +0 -169
  75. package/dist/Hyperttp/Core/RequestBuilder.js.map +0 -1
  76. package/dist/Hyperttp/Core/RequestExecutor.d.ts +0 -31
  77. package/dist/Hyperttp/Core/RequestExecutor.d.ts.map +0 -1
  78. package/dist/Hyperttp/Core/RequestExecutor.js +0 -166
  79. package/dist/Hyperttp/Core/RequestExecutor.js.map +0 -1
  80. package/dist/Hyperttp/Core/ResponseConverter.d.ts +0 -23
  81. package/dist/Hyperttp/Core/ResponseConverter.d.ts.map +0 -1
  82. package/dist/Hyperttp/Core/ResponseConverter.js +0 -368
  83. package/dist/Hyperttp/Core/ResponseConverter.js.map +0 -1
  84. package/dist/Hyperttp/Core/index.d.ts +0 -26
  85. package/dist/Hyperttp/Core/index.d.ts.map +0 -1
  86. package/dist/Hyperttp/Core/index.js +0 -54
  87. package/dist/Hyperttp/Core/index.js.map +0 -1
  88. package/dist/Hyperttp/Request.js.map +0 -1
  89. package/dist/Hyperttp/UrlExtractor.js.map +0 -1
  90. package/dist/Hyperttp/index.d.ts +0 -5
  91. package/dist/Hyperttp/index.d.ts.map +0 -1
  92. package/dist/Hyperttp/index.js +0 -23
  93. package/dist/Hyperttp/index.js.map +0 -1
  94. package/dist/Types/cache.d.ts +0 -10
  95. package/dist/Types/cache.d.ts.map +0 -1
  96. package/dist/Types/cache.js +0 -3
  97. package/dist/Types/cache.js.map +0 -1
  98. package/dist/Types/errors.d.ts +0 -15
  99. package/dist/Types/errors.d.ts.map +0 -1
  100. package/dist/Types/errors.js +0 -34
  101. package/dist/Types/errors.js.map +0 -1
  102. package/dist/Types/http-client.d.ts.map +0 -1
  103. package/dist/Types/http-client.js +0 -3
  104. package/dist/Types/http.d.ts +0 -5
  105. package/dist/Types/http.d.ts.map +0 -1
  106. package/dist/Types/http.js +0 -3
  107. package/dist/Types/http.js.map +0 -1
  108. package/dist/Types/index.d.ts +0 -13
  109. package/dist/Types/index.d.ts.map +0 -1
  110. package/dist/Types/index.js +0 -29
  111. package/dist/Types/index.js.map +0 -1
  112. package/dist/Types/interceptors.d.ts +0 -13
  113. package/dist/Types/interceptors.d.ts.map +0 -1
  114. package/dist/Types/interceptors.js +0 -3
  115. package/dist/Types/interceptors.js.map +0 -1
  116. package/dist/Types/metrics.d.ts +0 -67
  117. package/dist/Types/metrics.d.ts.map +0 -1
  118. package/dist/Types/metrics.js +0 -3
  119. package/dist/Types/metrics.js.map +0 -1
  120. package/dist/Types/options.d.ts +0 -233
  121. package/dist/Types/options.d.ts.map +0 -1
  122. package/dist/Types/options.js +0 -3
  123. package/dist/Types/options.js.map +0 -1
  124. package/dist/Types/queue.d.ts +0 -8
  125. package/dist/Types/queue.d.ts.map +0 -1
  126. package/dist/Types/queue.js +0 -3
  127. package/dist/Types/queue.js.map +0 -1
  128. package/dist/Types/request.d.ts +0 -189
  129. package/dist/Types/request.d.ts.map +0 -1
  130. package/dist/Types/request.js +0 -3
  131. package/dist/Types/request.js.map +0 -1
  132. package/dist/Types/response.d.ts +0 -28
  133. package/dist/Types/response.d.ts.map +0 -1
  134. package/dist/Types/response.js +0 -3
  135. package/dist/Types/response.js.map +0 -1
  136. package/dist/Types/stream.d.ts +0 -39
  137. package/dist/Types/stream.d.ts.map +0 -1
  138. package/dist/Types/stream.js +0 -3
  139. package/dist/Types/stream.js.map +0 -1
  140. package/dist/Types/url-extractor.js +0 -3
  141. package/dist/index.d.ts +0 -3
  142. package/dist/index.d.ts.map +0 -1
  143. package/dist/index.js +0 -17
  144. package/dist/index.js.map +0 -1
  145. /package/{dist/Types → Types}/http-client.js.map +0 -0
  146. /package/{dist/Types → Types}/url-extractor.d.ts +0 -0
  147. /package/{dist/Types → Types}/url-extractor.d.ts.map +0 -0
  148. /package/{dist/Types → Types}/url-extractor.js.map +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"errors.js","sourceRoot":"","sources":["../../src/Types/errors.ts"],"names":[],"mappings":";;;AAAA,MAAa,eAAgB,SAAQ,KAAK;IAG/B;IACA;IACA;IACA;IACA;IANT,YACE,OAAe,EACR,OAAe,YAAY,EAC3B,UAAmB,EACnB,aAAqB,EACrB,GAAY,EACZ,MAAe;QAEtB,KAAK,CAAC,OAAO,CAAC,CAAC;QANR,SAAI,GAAJ,IAAI,CAAuB;QAC3B,eAAU,GAAV,UAAU,CAAS;QACnB,kBAAa,GAAb,aAAa,CAAQ;QACrB,QAAG,GAAH,GAAG,CAAS;QACZ,WAAM,GAAN,MAAM,CAAS;QAGtB,IAAI,CAAC,IAAI,GAAG,iBAAiB,CAAC;IAChC,CAAC;CACF;AAZD,0CAYC;AAED,MAAa,YAAa,SAAQ,eAAe;IAC/C,YAAY,GAAW,EAAE,OAAe;QACtC,KAAK,CAAC,iBAAiB,OAAO,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,CAAC,CAAC;QACpE,IAAI,CAAC,IAAI,GAAG,cAAc,CAAC;IAC7B,CAAC;CACF;AALD,oCAKC;AAED,MAAa,cAAe,SAAQ,eAAe;IACjD,YAAY,GAAW,EAAE,UAAmB;QAC1C,KAAK,CACH,eAAe,UAAU,CAAC,CAAC,CAAC,aAAa,UAAU,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,EAC9D,YAAY,EACZ,GAAG,EACH,SAAS,EACT,GAAG,CACJ,CAAC;IACJ,CAAC;CACF;AAVD,wCAUC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"http-client.d.ts","sourceRoot":"","sources":["../../src/Types/http-client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAg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0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=http-client.js.map
@@ -1,5 +0,0 @@
1
- export type LogLevel = "debug" | "info" | "warn" | "error";
2
- export type Method = "GET" | "POST" | "PUT" | "PATCH" | "OPTIONS" | "DELETE" | "HEAD";
3
- export type ResponseType = "auto" | "json" | "text" | "xml" | "html" | "buffer" | "stream";
4
- export type SourceType = "json" | "xml" | "html" | "text" | "buffer";
5
- //# sourceMappingURL=http.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../src/Types/http.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAE3D,MAAM,MAAM,MAAM,GACd,KAAK,GACL,MAAM,GACN,KAAK,GACL,OAAO,GACP,SAAS,GACT,QAAQ,GACR,MAAM,CAAC;AAEX,MAAM,MAAM,YAAY,GACpB,MAAM,GACN,MAAM,GACN,MAAM,GACN,KAAK,GACL,MAAM,GACN,QAAQ,GACR,QAAQ,CAAC;AAEb,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAC"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=http.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"http.js","sourceRoot":"","sources":["../../src/Types/http.ts"],"names":[],"mappings":""}
@@ -1,13 +0,0 @@
1
- export * from "./cache.js";
2
- export * from "./errors.js";
3
- export * from "./http-client.js";
4
- export * from "./http.js";
5
- export * from "./interceptors.js";
6
- export * from "./metrics.js";
7
- export * from "./options.js";
8
- export * from "./queue.js";
9
- export * from "./request.js";
10
- export * from "./response.js";
11
- export * from "./stream.js";
12
- export * from "./url-extractor.js";
13
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Types/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC"}
@@ -1,29 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./cache.js"), exports);
18
- __exportStar(require("./errors.js"), exports);
19
- __exportStar(require("./http-client.js"), exports);
20
- __exportStar(require("./http.js"), exports);
21
- __exportStar(require("./interceptors.js"), exports);
22
- __exportStar(require("./metrics.js"), exports);
23
- __exportStar(require("./options.js"), exports);
24
- __exportStar(require("./queue.js"), exports);
25
- __exportStar(require("./request.js"), exports);
26
- __exportStar(require("./response.js"), exports);
27
- __exportStar(require("./stream.js"), exports);
28
- __exportStar(require("./url-extractor.js"), exports);
29
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,8CAA4B;AAC5B,mDAAiC;AACjC,4CAA0B;AAC1B,oDAAkC;AAClC,+CAA6B;AAC7B,+CAA6B;AAC7B,6CAA2B;AAC3B,+CAA6B;AAC7B,gDAA8B;AAC9B,8CAA4B;AAC5B,qDAAmC"}
@@ -1,13 +0,0 @@
1
- export type RequestInterceptor = (config: {
2
- url: string;
3
- method: string;
4
- headers: Record<string, string>;
5
- body?: any;
6
- }) => any | Promise<any>;
7
- export type ResponseInterceptor = (response: {
8
- status: number;
9
- headers: Record<string, any>;
10
- body: Buffer;
11
- url: string;
12
- }) => any | Promise<any>;
13
- //# sourceMappingURL=interceptors.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"interceptors.d.ts","sourceRoot":"","sources":["../../src/Types/interceptors.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG,CAAC,MAAM,EAAE;IACxC,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,IAAI,CAAC,EAAE,GAAG,CAAC;CACZ,KAAK,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;AAEzB,MAAM,MAAM,mBAAmB,GAAG,CAAC,QAAQ,EAAE;IAC3C,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;CACb,KAAK,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=interceptors.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"interceptors.js","sourceRoot":"","sources":["../../src/Types/interceptors.ts"],"names":[],"mappings":""}
@@ -1,67 +0,0 @@
1
- export interface RequestMetrics {
2
- /**
3
- * @ru Время начала запроса (timestamp)
4
- * @en Request start time (timestamp)
5
- */
6
- startTime: number;
7
- /**
8
- * @ru Время окончания запроса (timestamp)
9
- * @en Request end time (timestamp)
10
- */
11
- endTime: number;
12
- /**
13
- * @ru Длительность запроса (мс)
14
- * @en Request duration (ms)
15
- */
16
- duration: number;
17
- /**
18
- * @ru HTTP статус код ответа
19
- * @en HTTP status code of response
20
- */
21
- statusCode?: number;
22
- /**
23
- * @ru Количество полученных байт
24
- * @en Bytes received
25
- */
26
- bytesReceived: number;
27
- /**
28
- * @ru Количество отправленных байт
29
- * @en Bytes sent
30
- */
31
- bytesSent: number;
32
- /**
33
- * @ru Количество повторных попыток
34
- * @en Number of retries performed
35
- */
36
- retries: number;
37
- /**
38
- * @ru Ответ из кэша
39
- * @en Response served from cache
40
- */
41
- cached: boolean;
42
- /**
43
- * @ru URL запроса
44
- * @en Request URL
45
- */
46
- url: string;
47
- /**
48
- * @ru HTTP метод запроса
49
- * @en HTTP method
50
- */
51
- method: string;
52
- /**
53
- * @ru Хэш тела запроса (для кэширования)
54
- * @en Request body hash (for caching)
55
- */
56
- bodyHash?: string;
57
- }
58
- export type CircuitStateName = "CLOSED" | "OPEN" | "HALF_OPEN";
59
- export type CircuitState = {
60
- state: CircuitStateName;
61
- failureScore: number;
62
- consecutiveFailures: number;
63
- lastFailureTime: number;
64
- lastTransitionTime: number;
65
- probeInFlight: boolean;
66
- };
67
- //# sourceMappingURL=metrics.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"metrics.d.ts","sourceRoot":"","sources":["../../src/Types/metrics.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,MAAM,EAAE,OAAO,CAAC;IAEhB;;;OAGG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,MAAM,GAAG,WAAW,CAAC;AAE/D,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,gBAAgB,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,eAAe,EAAE,MAAM,CAAC;IACxB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,aAAa,EAAE,OAAO,CAAC;CACxB,CAAC"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=metrics.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"metrics.js","sourceRoot":"","sources":["../../src/Types/metrics.ts"],"names":[],"mappings":""}
@@ -1,233 +0,0 @@
1
- import { LogLevel, Method } from "./http";
2
- import { ResponseConverterOptions } from "./response";
3
- export interface RetryOptions {
4
- /**
5
- * @ru Максимальное количество повторных попыток
6
- * @en Maximum number of retry attempts
7
- */
8
- maxRetries?: number;
9
- /**
10
- * @ru Базовая задержка между попытками (мс)
11
- * @en Base delay between retries (ms)
12
- */
13
- baseDelay?: number;
14
- /**
15
- * @ru Максимальная задержка между попытками (мс)
16
- * @en Maximum retry delay (ms)
17
- */
18
- maxDelay?: number;
19
- /**
20
- * @ru Коды HTTP, при которых выполняется retry
21
- * @en HTTP status codes that trigger retry logic
22
- */
23
- retryStatusCodes?: readonly number[];
24
- /**
25
- * @ru Добавлять случайный jitter к задержке
26
- * @en Add randomness (jitter) to retry delay
27
- */
28
- jitter?: boolean;
29
- }
30
- export interface CacheOptions {
31
- /**
32
- * @ru Включить кэш
33
- * @en Enable cache
34
- */
35
- enabled?: boolean;
36
- /**
37
- * @ru Время жизни кэша (мс)
38
- * @en Cache time-to-live in milliseconds
39
- */
40
- ttl?: number;
41
- /**
42
- * @ru Максимальный размер кэша
43
- * @en Maximum cache size
44
- */
45
- maxSize?: number;
46
- /**
47
- * @ru HTTP методы, которые можно кэшировать
48
- * @en HTTP methods allowed to be cached
49
- */
50
- methods?: readonly Method[];
51
- }
52
- export interface RateLimitOptions {
53
- /**
54
- * @ru Включить rate limit
55
- * @en Enable rate limiting
56
- */
57
- enabled?: boolean;
58
- /**
59
- * @ru Максимальное число запросов
60
- * @en Maximum number of requests
61
- */
62
- maxRequests?: number;
63
- /**
64
- * @ru Окно времени (мс)
65
- * @en Time window in milliseconds
66
- */
67
- windowMs?: number;
68
- }
69
- export interface NetworkOptions {
70
- /**
71
- * @ru Таймаут запроса (мс)
72
- * @en Request timeout in milliseconds
73
- */
74
- timeout?: number;
75
- /**
76
- * @ru Максимум одновременных запросов. 0 = без лимита
77
- * @en Maximum concurrent requests. 0 = unlimited
78
- */
79
- maxConcurrent?: number;
80
- /**
81
- * @ru Количество pipelined запросов на соединение
82
- * @en Number of pipelined requests per connection
83
- */
84
- pipelining?: number;
85
- /**
86
- * @ru Таймаут keep-alive соединения (мс)
87
- * @en Keep-alive connection timeout in milliseconds
88
- */
89
- keepAliveTimeout?: number;
90
- /**
91
- * @ru Отклонять недоверенные SSL сертификаты
92
- * @en Reject unauthorized SSL certificates
93
- */
94
- rejectUnauthorized?: boolean;
95
- /**
96
- * @ru Следовать за редиректами
97
- * @en Follow HTTP redirects
98
- */
99
- followRedirects?: boolean;
100
- /**
101
- * @ru Максимум редиректов
102
- * @en Maximum number of redirects to follow
103
- */
104
- maxRedirects?: number;
105
- /**
106
- * @ru Максимальный размер ответа (байты)
107
- * @en Maximum response body size in bytes
108
- */
109
- maxResponseBytes?: number;
110
- /**
111
- * @ru Переключение режима HTTP/2 и HTTP/1.1
112
- * @en Switching between HTTP/2 and HTTP/1.1 modes
113
- */
114
- allowHttp2?: boolean;
115
- /**
116
- * @ru User-Agent заголовок
117
- * @en User-Agent header string
118
- */
119
- userAgent?: string;
120
- /**
121
- * @ru Функция валидации HTTP статуса
122
- * @en Function to validate HTTP status code
123
- * @param status - HTTP status code
124
- * @returns `true` if status is valid
125
- */
126
- validateStatus?: (status: number) => boolean;
127
- }
128
- export interface MetricsOptions {
129
- /**
130
- * @ru Включить сбор метрик
131
- * @en Enable metrics collection
132
- */
133
- enabled?: boolean;
134
- /**
135
- * @ru Максимальное количество записей в истории.
136
- * @en Maximum number of entries in history.
137
- */
138
- maxHistory?: number;
139
- /**
140
- * @ru Время хранения метрик в миллисекундах.
141
- * @en Time to keep metrics in milliseconds.
142
- */
143
- ttl?: number;
144
- /**
145
- * @ru Глубина scope для circuit breaker: 1 = host + первый сегмент пути.
146
- * @en Scope depth for circuit breaker: 1 = host + first path segment.
147
- */
148
- scopeDepth?: number;
149
- /**
150
- * @ru Порог ошибки, после которого circuit breaker переходит в OPEN.
151
- * @en Failure score threshold that opens the circuit breaker.
152
- */
153
- failureThreshold?: number;
154
- /**
155
- * @ru Время охлаждения перед переходом в HALF_OPEN.
156
- * @en Cooldown time before switching to HALF_OPEN.
157
- */
158
- resetTimeout?: number;
159
- /**
160
- * @ru Порог "медленного" запроса в миллисекундах.
161
- * @en Slow request threshold in milliseconds.
162
- */
163
- slowRequestMs?: number;
164
- /**
165
- * @ru Веса ошибок для разных классов отказов.
166
- * @en Failure weights for different failure classes.
167
- */
168
- weights?: {
169
- timeout?: number;
170
- serverError?: number;
171
- rateLimit?: number;
172
- slowRequest?: number;
173
- other?: number;
174
- };
175
- }
176
- export interface QueueOptions {
177
- /**
178
- * @ru Включить очередь запросов
179
- * @en Enable request queue
180
- */
181
- enabled?: boolean;
182
- }
183
- export interface HttpClientOptions {
184
- /**
185
- * @ru Настройки сети
186
- * @en Network configuration
187
- */
188
- network?: Partial<NetworkOptions>;
189
- /**
190
- * @ru Настройки retry
191
- * @en Retry configuration
192
- */
193
- retry?: Partial<RetryOptions>;
194
- /**
195
- * @ru Настройки кэша
196
- * @en Cache configuration
197
- */
198
- cache?: Partial<CacheOptions>;
199
- /**
200
- * @ru Настройки rate limit
201
- * @en Rate limiting configuration
202
- */
203
- rateLimit?: Partial<RateLimitOptions>;
204
- /**
205
- * @ru Метрики
206
- * @en Metrics configuration
207
- */
208
- metrics?: Partial<MetricsOptions>;
209
- /**
210
- * @ru Очередь запросов
211
- * @en Request queue configuration
212
- */
213
- queue?: Partial<QueueOptions>;
214
- /**
215
- * @ru Конвертер ответа
216
- * @en Response converter configuration
217
- */
218
- responseConverter?: Partial<ResponseConverterOptions>;
219
- /**
220
- * @ru Логгер
221
- * @en Logger function
222
- * @param level - log level
223
- * @param message - log message
224
- * @param meta - additional metadata
225
- */
226
- logger?: (level: LogLevel, message: string, meta?: unknown) => void;
227
- /**
228
- * @ru Режим verbose логов
229
- * @en Enable verbose logging
230
- */
231
- verbose?: boolean;
232
- }
233
- //# sourceMappingURL=options.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../src/Types/options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC1C,OAAO,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAEtD,MAAM,WAAW,YAAY;IAC3B;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,g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AO,KAAK,IAAI,CAAC;IAEpE;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=options.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"options.js","sourceRoot":"","sources":["../../src/Types/options.ts"],"names":[],"mappings":""}
@@ -1,8 +0,0 @@
1
- export type QueueExecutor = () => Promise<unknown>;
2
- export type QueueNode = {
3
- executor: QueueExecutor;
4
- resolve: (value: unknown) => void;
5
- reject: (reason?: unknown) => void;
6
- next: QueueNode | null;
7
- };
8
- //# sourceMappingURL=queue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"queue.d.ts","sourceRoot":"","sources":["../../src/Types/queue.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;AAEnD,MAAM,MAAM,SAAS,GAAG;IACtB,QAAQ,EAAE,aAAa,CAAC;IACxB,OAAO,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAClC,MAAM,EAAE,CAAC,MAAM,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC,IAAI,EAAE,SAAS,GAAG,IAAI,CAAC;CACxB,CAAC"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=queue.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"queue.js","sourceRoot":"","sources":["../../src/Types/queue.ts"],"names":[],"mappings":""}
@@ -1,189 +0,0 @@
1
- /**
2
- * @ru Представляет HTTP заголовки запроса
3
- * @en Represents HTTP request headers
4
- */
5
- export type RequestHeaders = Record<string, string>;
6
- /**
7
- * @ru Представляет параметры URL query
8
- * @en Represents URL query parameters
9
- */
10
- export type RequestQuery = Record<string, string | string[] | number | boolean | undefined | null>;
11
- /**
12
- * @ru Данные тела запроса
13
- * @en Request body data
14
- */
15
- export type RequestBodyData = any | null | undefined;
16
- /**
17
- * @ru Конфигурация для создания запроса
18
- * @en Configuration for request creation
19
- */
20
- export type RequestConfig = {
21
- /**
22
- * @ru Схема протокола (http/https)
23
- * @en Protocol scheme (http/https)
24
- */
25
- scheme: string;
26
- /**
27
- * @ru Хост сервера
28
- * @en Server host
29
- */
30
- host: string;
31
- /**
32
- * @ru Порт сервера
33
- * @en Server port
34
- */
35
- port?: number;
36
- /**
37
- * @ru Путь ресурса
38
- * @en Resource path
39
- */
40
- path?: string;
41
- /**
42
- * @ru Заголовки запроса
43
- * @en Request headers
44
- */
45
- headers?: RequestHeaders;
46
- /**
47
- * @ru Параметры query строки
48
- * @en Query string parameters
49
- */
50
- query?: RequestQuery;
51
- /**
52
- * @ru Данные тела запроса
53
- * @en Request body data
54
- */
55
- bodyData?: RequestBodyData;
56
- };
57
- /**
58
- * @ru Основной интерфейс запроса
59
- * @en Main request interface
60
- */
61
- export interface RequestInterface {
62
- /**
63
- * @ru Возвращает полный URL запроса
64
- * @en Returns full request URL
65
- * @returns constructed URL string
66
- */
67
- getURL(): string;
68
- /**
69
- * @ru Возвращает заголовки запроса
70
- * @en Returns request headers
71
- * @returns headers object
72
- */
73
- getHeaders(): RequestHeaders;
74
- /**
75
- * @ru Возвращает данные тела запроса
76
- * @en Returns request body data
77
- * @returns body data
78
- */
79
- getBodyData(): RequestBodyData;
80
- /**
81
- * @ru Устанавливает путь ресурса
82
- * @en Sets resource path
83
- * @param path - new path
84
- * @returns this for chaining
85
- */
86
- setPath?(path: string): RequestInterface;
87
- /**
88
- * @ru Устанавливает хост сервера
89
- * @en Sets server host
90
- * @param host - server host
91
- * @returns this for chaining
92
- */
93
- setHost?(host: string): RequestInterface;
94
- /**
95
- * @ru Устанавливает заголовки запроса
96
- * @en Sets request headers
97
- * @param headers - headers object
98
- * @returns this for chaining
99
- */
100
- setHeaders?(headers: RequestHeaders): RequestInterface;
101
- /**
102
- * @ru Добавляет заголовки к существующим
103
- * @en Adds headers to existing ones
104
- * @param headers - headers to add
105
- * @returns this for chaining
106
- */
107
- addHeaders?(headers: RequestHeaders): RequestInterface;
108
- /**
109
- * @ru Возвращает query параметры
110
- * @en Returns query parameters
111
- * @returns query object
112
- */
113
- getQuery?(): RequestQuery;
114
- /**
115
- * @ru Устанавливает query параметры
116
- * @en Sets query parameters
117
- * @param query - query object
118
- * @returns this for chaining
119
- */
120
- setQuery?(query: RequestQuery): RequestInterface;
121
- /**
122
- * @ru Добавляет query параметры
123
- * @en Adds query parameters
124
- * @param query - query to add
125
- * @returns this for chaining
126
- */
127
- addQuery?(query: RequestQuery): RequestInterface;
128
- /**
129
- * @ru Возвращает query строку
130
- * @en Returns query string
131
- * @returns encoded query string
132
- */
133
- getQueryAsString?(): string;
134
- /**
135
- * @ru Возвращает тело запроса как строку
136
- * @en Returns body data as string
137
- * @returns body string representation
138
- */
139
- getBodyDataString?(): string;
140
- /**
141
- * @ru Устанавливает данные тела запроса
142
- * @en Sets request body data
143
- * @param bodyData - body data
144
- * @returns this for chaining
145
- */
146
- setBodyData?(bodyData: RequestBodyData): RequestInterface;
147
- /**
148
- * @ru Добавляет данные к телу запроса
149
- * @en Adds data to request body
150
- * @param bodyData - data to add
151
- * @returns this for chaining
152
- */
153
- addBodyData?(bodyData: RequestBodyData): RequestInterface;
154
- /**
155
- * @ru Устанавливает AbortSignal для отмены
156
- * @en Sets AbortSignal for cancellation
157
- * @param signal - AbortSignal instance
158
- * @returns this for chaining
159
- */
160
- setSignal?(signal: AbortSignal): RequestInterface;
161
- /**
162
- * @ru Возвращает AbortSignal
163
- * @en Returns AbortSignal
164
- * @returns AbortSignal or undefined
165
- */
166
- getSignal?(): AbortSignal | undefined;
167
- }
168
- /**
169
- * @ru Метаданные для конвертации ответа
170
- * @en Response conversion metadata
171
- */
172
- export interface ConversionMeta {
173
- /**
174
- * @ru Content-Type заголовок
175
- * @en Content-Type header
176
- */
177
- contentType?: string;
178
- /**
179
- * @ru Content-Encoding заголовок
180
- * @en Content-Encoding header
181
- */
182
- contentEncoding?: string;
183
- /**
184
- * @ru URL запроса
185
- * @en Request URL
186
- */
187
- url?: string;
188
- }
189
- //# sourceMappingURL=request.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../src/Types/request.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAEpD;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,CAC/B,MAAM,EACN,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,IAAI,CACxD,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG,GAAG,GAAG,IAAI,GAAG,SAAS,CAAC;AAErD;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB;;;OAGG;IACH,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB;;;OAGG;IACH,QAAQ,CAAC,EAAE,eAAe,CAAC;CAC5B,CAAC;AAEF;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,MAAM,IAAI,MAAM,CAAC;IAEjB;;;;OAIG;IACH,UAAU,IAAI,cAAc,CAAC;IAE7B;;;;OAIG;IACH,WAAW,IAAI,eAAe,CAAC;IAE/B;;;;;OAKG;IACH,OAAO,CAAC,CAAC,IAAI,EAAE,MAAM,GAAG,gBAAgB,CAAC;IAEzC;;;;;OAKG;IACH,OAAO,CAAC,CAA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