@indra211/exios 3.0.0 → 3.1.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.
- package/README.md +100 -2
- package/dist/index.cjs +478 -15
- package/dist/index.d.cts +7 -0
- package/dist/index.d.ts +162 -53
- package/dist/index.js +479 -15
- package/dist/index.node.cjs +478 -15
- package/dist/index.node.js +479 -15
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -29,7 +29,8 @@ declare class CircuitOpenError extends ExiosError {
|
|
|
29
29
|
retryAt: number;
|
|
30
30
|
constructor(origin: string, retryAt: number, config?: InternalConfig);
|
|
31
31
|
}
|
|
32
|
-
|
|
32
|
+
/** Type guard; pass the error body type to narrow `error.response.data`: `isExiosError<ApiError>(err)`. */
|
|
33
|
+
declare function isExiosError<T = any, D = any>(v: unknown): v is ExiosError<T, D>;
|
|
33
34
|
/** Also true for a canceled error from another copy of the package (dual-package hazard). */
|
|
34
35
|
declare function isCancel(v: unknown): v is CanceledError;
|
|
35
36
|
|
|
@@ -66,6 +67,13 @@ type RawHeaders = Record<string, HeaderValue> | Headers;
|
|
|
66
67
|
type HeadersDefaults = {
|
|
67
68
|
common: Record<string, HeaderValue>;
|
|
68
69
|
} & Record<Lowercase<Method>, Record<string, HeaderValue>>;
|
|
70
|
+
/**
|
|
71
|
+
* Option object where every field may be omitted or set to `undefined` (= keep the default), so it
|
|
72
|
+
* also type-checks under `exactOptionalPropertyTypes`.
|
|
73
|
+
*/
|
|
74
|
+
type Options<T> = {
|
|
75
|
+
[K in keyof T]?: T[K] | undefined;
|
|
76
|
+
};
|
|
69
77
|
type AdapterName = "xhr" | "http" | "fetch";
|
|
70
78
|
type AdapterFn = (config: InternalConfig) => Promise<ExiosResponse>;
|
|
71
79
|
type AdapterConfig = AdapterName | AdapterFn | Array<AdapterName | AdapterFn>;
|
|
@@ -115,7 +123,7 @@ interface BreakerConfig {
|
|
|
115
123
|
onStateChange?: (key: string, from: BreakerState, to: BreakerState) => void;
|
|
116
124
|
}
|
|
117
125
|
type BreakerState = "closed" | "open" | "half-open";
|
|
118
|
-
type RequestBreakerOverride = false | Pick<
|
|
126
|
+
type RequestBreakerOverride = false | Pick<Options<BreakerConfig>, "key" | "isFailure">;
|
|
119
127
|
interface ProgressEvent {
|
|
120
128
|
loaded: number;
|
|
121
129
|
total?: number;
|
|
@@ -129,76 +137,126 @@ interface ProgressEvent {
|
|
|
129
137
|
}
|
|
130
138
|
type Transformer = (this: InternalConfig, data: any, headers: Record<string, string>, status?: number) => any;
|
|
131
139
|
interface ExiosRequestConfig<D = any> {
|
|
132
|
-
url?: string;
|
|
133
|
-
method?: Method;
|
|
134
|
-
baseURL?: string;
|
|
135
|
-
allowAbsoluteUrls?: boolean;
|
|
136
|
-
headers?: RawHeaders | (Partial<HeadersDefaults> & Record<string, HeaderValue | Record<string, HeaderValue>>);
|
|
137
|
-
params?: any;
|
|
140
|
+
url?: string | undefined;
|
|
141
|
+
method?: Method | undefined;
|
|
142
|
+
baseURL?: string | undefined;
|
|
143
|
+
allowAbsoluteUrls?: boolean | undefined;
|
|
144
|
+
headers?: RawHeaders | (Partial<HeadersDefaults> & Record<string, HeaderValue | Record<string, HeaderValue>>) | undefined;
|
|
145
|
+
params?: any | undefined;
|
|
138
146
|
paramsSerializer?: ((params: any) => string) | {
|
|
139
147
|
serialize?: (p: any) => string;
|
|
140
148
|
indexes?: boolean | null;
|
|
141
149
|
encode?: (s: string) => string;
|
|
142
|
-
};
|
|
143
|
-
data?: D;
|
|
144
|
-
transformRequest?: Transformer | Transformer[];
|
|
145
|
-
transformResponse?: Transformer | Transformer[];
|
|
146
|
-
timeout?: number;
|
|
147
|
-
timeoutErrorMessage?: string;
|
|
148
|
-
withCredentials?: boolean;
|
|
150
|
+
} | undefined;
|
|
151
|
+
data?: D | undefined;
|
|
152
|
+
transformRequest?: Transformer | Transformer[] | undefined;
|
|
153
|
+
transformResponse?: Transformer | Transformer[] | undefined;
|
|
154
|
+
timeout?: number | undefined;
|
|
155
|
+
timeoutErrorMessage?: string | undefined;
|
|
156
|
+
withCredentials?: boolean | undefined;
|
|
149
157
|
auth?: {
|
|
150
158
|
username: string;
|
|
151
159
|
password: string;
|
|
152
|
-
};
|
|
153
|
-
responseType?: ResponseType;
|
|
154
|
-
responseEncoding?: string;
|
|
155
|
-
validateStatus?: ((status: number) => boolean) | null;
|
|
156
|
-
signal?: AbortSignal;
|
|
157
|
-
onDownloadProgress?: (e: ProgressEvent) => void;
|
|
158
|
-
maxContentLength?: number;
|
|
159
|
-
maxBodyLength?: number;
|
|
160
|
+
} | undefined;
|
|
161
|
+
responseType?: ResponseType | undefined;
|
|
162
|
+
responseEncoding?: string | undefined;
|
|
163
|
+
validateStatus?: (((status: number) => boolean) | null) | undefined;
|
|
164
|
+
signal?: AbortSignal | undefined;
|
|
165
|
+
onDownloadProgress?: ((e: ProgressEvent) => void) | undefined;
|
|
166
|
+
maxContentLength?: number | undefined;
|
|
167
|
+
maxBodyLength?: number | undefined;
|
|
160
168
|
transitional?: {
|
|
161
169
|
silentJSONParsing?: boolean;
|
|
162
170
|
clarifyTimeoutError?: boolean;
|
|
163
|
-
};
|
|
164
|
-
adapter?: AdapterConfig;
|
|
165
|
-
onUploadProgress?: (e: ProgressEvent) => void;
|
|
166
|
-
xsrfCookieName?: string;
|
|
167
|
-
xsrfHeaderName?: string;
|
|
168
|
-
withXSRFToken?: boolean | ((config: InternalConfig) => boolean | undefined);
|
|
171
|
+
} | undefined;
|
|
172
|
+
adapter?: AdapterConfig | undefined;
|
|
173
|
+
onUploadProgress?: ((e: ProgressEvent) => void) | undefined;
|
|
174
|
+
xsrfCookieName?: string | undefined;
|
|
175
|
+
xsrfHeaderName?: string | undefined;
|
|
176
|
+
withXSRFToken?: (boolean | ((config: InternalConfig) => boolean | undefined)) | undefined;
|
|
169
177
|
/** @deprecated Use `signal` (AbortController), as in axios. */
|
|
170
|
-
cancelToken?: CancelToken;
|
|
178
|
+
cancelToken?: CancelToken | undefined;
|
|
171
179
|
/** Node http adapter: proxy server, or `false` to ignore HTTP(S)_PROXY env vars. */
|
|
172
|
-
proxy?: ProxyConfig | false;
|
|
180
|
+
proxy?: ProxyConfig | false | undefined;
|
|
173
181
|
/** Node http adapter: `http.Agent` used for http: URLs. */
|
|
174
|
-
httpAgent?: unknown;
|
|
182
|
+
httpAgent?: unknown | undefined;
|
|
175
183
|
/** Node http adapter: `https.Agent` used for https: URLs. */
|
|
176
|
-
httpsAgent?: unknown;
|
|
184
|
+
httpsAgent?: unknown | undefined;
|
|
177
185
|
/** Node http adapter: redirects to follow (default 21; 0 = return the 3xx). */
|
|
178
|
-
maxRedirects?: number;
|
|
179
|
-
beforeRedirect?: (options: Record<string, any>, responseDetails: {
|
|
186
|
+
maxRedirects?: number | undefined;
|
|
187
|
+
beforeRedirect?: ((options: Record<string, any>, responseDetails: {
|
|
180
188
|
headers: Record<string, string | string[]>;
|
|
181
189
|
statusCode: number;
|
|
182
|
-
}) => void;
|
|
190
|
+
}) => void) | undefined;
|
|
183
191
|
/** Node http adapter: unix socket path. */
|
|
184
|
-
socketPath?: string | null;
|
|
192
|
+
socketPath?: string | null | undefined;
|
|
185
193
|
/** Node http adapter: decode gzip/deflate/br responses (default true). */
|
|
186
|
-
decompress?: boolean;
|
|
187
|
-
insecureHTTPParser?: boolean;
|
|
188
|
-
fetch?: typeof fetch;
|
|
189
|
-
fetchOptions?: Omit<RequestInit, "body" | "headers" | "method" | "signal"
|
|
190
|
-
redirect?: RequestRedirect;
|
|
191
|
-
retry?: false |
|
|
192
|
-
breaker?: false |
|
|
194
|
+
decompress?: boolean | undefined;
|
|
195
|
+
insecureHTTPParser?: boolean | undefined;
|
|
196
|
+
fetch?: typeof fetch | undefined;
|
|
197
|
+
fetchOptions?: Omit<RequestInit, "body" | "headers" | "method" | "signal"> | undefined;
|
|
198
|
+
redirect?: RequestRedirect | undefined;
|
|
199
|
+
retry?: false | Options<RetryConfig> | undefined;
|
|
200
|
+
breaker?: false | Options<BreakerConfig> | undefined;
|
|
193
201
|
/** Id of this logical request (retries share it). Generated when not set. */
|
|
194
|
-
requestId?: string;
|
|
202
|
+
requestId?: string | undefined;
|
|
195
203
|
/** Id that ties this request to a wider operation; often set on an instance. */
|
|
196
|
-
correlationId?: string;
|
|
204
|
+
correlationId?: string | undefined;
|
|
197
205
|
/**
|
|
198
206
|
* Send `correlationId` (or `requestId` when there is none) in this header, e.g. "x-correlation-id".
|
|
199
207
|
* Off by default: an extra header can trigger a CORS preflight. A header the caller already set wins.
|
|
200
208
|
*/
|
|
201
|
-
correlationIdHeader?: string;
|
|
209
|
+
correlationIdHeader?: string | undefined;
|
|
210
|
+
/** Free-form data that travels with the request: readable in interceptors, events and adapters. Never sent. */
|
|
211
|
+
metadata?: Record<string, unknown> | undefined;
|
|
212
|
+
/**
|
|
213
|
+
* Time limit (ms) for the whole logical request: every attempt, retry and backoff sleep.
|
|
214
|
+
* `timeout` still limits each attempt. 0 / undefined = no limit. For `responseType: 'stream'` it ends
|
|
215
|
+
* when the headers arrive.
|
|
216
|
+
*/
|
|
217
|
+
totalTimeout?: number | undefined;
|
|
218
|
+
/** Share one in-flight request between identical concurrent requests (GET/HEAD by default). Off by default. */
|
|
219
|
+
dedupe?: boolean | DedupeConfig | undefined;
|
|
220
|
+
/** Cache successful responses (GET/HEAD by default). Off by default. */
|
|
221
|
+
cache?: boolean | Options<CacheConfig> | undefined;
|
|
222
|
+
}
|
|
223
|
+
interface DedupeConfig {
|
|
224
|
+
/** Methods that may be deduplicated. Default: ["get", "head"]. */
|
|
225
|
+
methods?: Lowercase<Method>[] | undefined;
|
|
226
|
+
/** Custom key; return undefined to not deduplicate this request. Default: method + URL + params + headers. */
|
|
227
|
+
key?: ((config: InternalConfig) => string | undefined) | undefined;
|
|
228
|
+
}
|
|
229
|
+
/** What a cache provider stores for one response. */
|
|
230
|
+
interface CacheEntry {
|
|
231
|
+
status: number;
|
|
232
|
+
statusText: string;
|
|
233
|
+
headers: Record<string, string | string[]>;
|
|
234
|
+
data: unknown;
|
|
235
|
+
/** `Date.now()` when stored. */
|
|
236
|
+
storedAt: number;
|
|
237
|
+
/** `Date.now()` after which the entry is stale and is not used. */
|
|
238
|
+
expiresAt: number;
|
|
239
|
+
}
|
|
240
|
+
/** Storage for cached responses. Methods may be sync or async. */
|
|
241
|
+
interface CacheProvider {
|
|
242
|
+
get(key: string): CacheEntry | undefined | Promise<CacheEntry | undefined>;
|
|
243
|
+
set(key: string, entry: CacheEntry): void | Promise<void>;
|
|
244
|
+
delete(key: string): void | Promise<void>;
|
|
245
|
+
clear(): void | Promise<void>;
|
|
246
|
+
/** Needed only for `instance.cache.invalidate()`. */
|
|
247
|
+
keys?(): Iterable<string> | Promise<Iterable<string>>;
|
|
248
|
+
}
|
|
249
|
+
interface CacheConfig {
|
|
250
|
+
/** Time to live in ms. Default 60000. */
|
|
251
|
+
ttl: number;
|
|
252
|
+
/** Methods whose responses may be cached. Default: ["get", "head"]. */
|
|
253
|
+
methods: Lowercase<Method>[];
|
|
254
|
+
/** Custom key; return undefined to not cache this request. Default: method + URL + params + headers. */
|
|
255
|
+
key?: (config: InternalConfig) => string | undefined;
|
|
256
|
+
/** Where entries live. Default: the instance's in-memory LRU cache (100 entries). */
|
|
257
|
+
provider?: CacheProvider;
|
|
258
|
+
/** Honour Cache-Control (`no-store`, `no-cache`, `max-age`) on the request and the response. Default true. */
|
|
259
|
+
respectCacheControl: boolean;
|
|
202
260
|
}
|
|
203
261
|
/**
|
|
204
262
|
* Type of `instance.defaults`: like a request config, but every header bucket, `retry` and `breaker`
|
|
@@ -206,8 +264,8 @@ interface ExiosRequestConfig<D = any> {
|
|
|
206
264
|
*/
|
|
207
265
|
interface ExiosDefaults<D = any> extends Omit<ExiosRequestConfig<D>, "headers" | "retry" | "breaker"> {
|
|
208
266
|
headers: HeadersDefaults & Record<string, HeaderValue | Record<string, HeaderValue>>;
|
|
209
|
-
retry: false |
|
|
210
|
-
breaker: false |
|
|
267
|
+
retry: false | Options<RetryConfig>;
|
|
268
|
+
breaker: false | Options<BreakerConfig>;
|
|
211
269
|
}
|
|
212
270
|
interface InternalConfig<D = any> extends Omit<ExiosRequestConfig<D>, "headers" | "retry" | "breaker"> {
|
|
213
271
|
method: Lowercase<Method>;
|
|
@@ -237,6 +295,10 @@ interface ResponseMeta {
|
|
|
237
295
|
durationMs?: number;
|
|
238
296
|
/** The final attempt only (ms). */
|
|
239
297
|
responseTimeMs?: number;
|
|
298
|
+
/** Served from the cache (no network request was made). */
|
|
299
|
+
cached?: boolean;
|
|
300
|
+
/** Shared with an identical request already in flight. */
|
|
301
|
+
deduped?: boolean;
|
|
240
302
|
}
|
|
241
303
|
/** Diagnostics attached to an ExiosError. Fields other than `attempts` are set by exios ≥ 3. */
|
|
242
304
|
interface ErrorMeta {
|
|
@@ -257,6 +319,8 @@ interface RequestEventBase {
|
|
|
257
319
|
/** baseURL + url, without the serialized `params`. */
|
|
258
320
|
url: string;
|
|
259
321
|
config: InternalConfig;
|
|
322
|
+
/** `config.metadata`, for convenience. */
|
|
323
|
+
metadata?: Record<string, unknown>;
|
|
260
324
|
/** `Date.now()` when the event was emitted. */
|
|
261
325
|
timestamp: number;
|
|
262
326
|
}
|
|
@@ -286,6 +350,8 @@ interface RetryEvent extends RequestEventBase {
|
|
|
286
350
|
status?: number;
|
|
287
351
|
}
|
|
288
352
|
interface TimeoutEvent extends RequestEventBase {
|
|
353
|
+
/** "attempt": one attempt hit `timeout` (it may be retried). "total": `totalTimeout` ended the request. */
|
|
354
|
+
kind: "attempt" | "total";
|
|
289
355
|
attempt: number;
|
|
290
356
|
timeoutMs: number;
|
|
291
357
|
error: ExiosError;
|
|
@@ -348,6 +414,10 @@ declare class Exios {
|
|
|
348
414
|
};
|
|
349
415
|
private readonly registry;
|
|
350
416
|
private readonly events;
|
|
417
|
+
private readonly memoryCache;
|
|
418
|
+
private readonly inflight;
|
|
419
|
+
/** The instance cache: `defaults.cache.provider`, or the built-in in-memory cache. */
|
|
420
|
+
cache: ExiosCache;
|
|
351
421
|
constructor(defaults: ExiosDefaults);
|
|
352
422
|
request<T = any, R = ExiosResponse<T>, D = any>(configOrUrl: string | Cfg<D>, config?: Cfg<D>): Promise<R>;
|
|
353
423
|
/** Subscribe to a lifecycle event; returns a function that unsubscribes. */
|
|
@@ -356,8 +426,17 @@ declare class Exios {
|
|
|
356
426
|
once<K extends ExiosEventName>(name: K, listener: ExiosEventListener<K>): () => void;
|
|
357
427
|
/** Remove one listener, or every listener of `name` when `listener` is omitted. */
|
|
358
428
|
off<K extends ExiosEventName>(name: K, listener?: ExiosEventListener<K>): void;
|
|
359
|
-
/**
|
|
429
|
+
/**
|
|
430
|
+
* After request interceptors: ids → cache read → dedupe → network → cache write.
|
|
431
|
+
* Cache hits and deduplicated followers make no network request and emit no lifecycle events.
|
|
432
|
+
*/
|
|
360
433
|
private dispatch;
|
|
434
|
+
/** A response made without a network request of its own (cache hit, deduplicated follower). */
|
|
435
|
+
private localResponse;
|
|
436
|
+
/** Store a successful response; provider failures are reported, never thrown. */
|
|
437
|
+
private store;
|
|
438
|
+
/** totalTimeout, timing, error context and lifecycle events around dispatchRequest. */
|
|
439
|
+
private network;
|
|
361
440
|
/** Runs every request interceptor in this tick with promise-chain semantics, then dispatches. */
|
|
362
441
|
private runSync;
|
|
363
442
|
getUri(config?: ExiosRequestConfig): string;
|
|
@@ -375,7 +454,21 @@ declare class Exios {
|
|
|
375
454
|
patchForm<T = any, R = ExiosResponse<T>, D = any>(url: string, data?: D, config?: Cfg<D>): Promise<R>;
|
|
376
455
|
}
|
|
377
456
|
declare const METHODS: readonly ["request", "on", "once", "off", "getUri", "get", "delete", "head", "options", "post", "put", "patch", "postForm", "putForm", "patchForm"];
|
|
378
|
-
|
|
457
|
+
/** `instance.cache`: manage the instance's cache provider. */
|
|
458
|
+
interface ExiosCache {
|
|
459
|
+
/** Remove every entry. */
|
|
460
|
+
clear(): Promise<void>;
|
|
461
|
+
/** Remove one entry by key. */
|
|
462
|
+
delete(key: string): Promise<void>;
|
|
463
|
+
/** The default cache key a request config would get (undefined if it is not cacheable). */
|
|
464
|
+
key(config?: ExiosRequestConfig): string | undefined;
|
|
465
|
+
/**
|
|
466
|
+
* Remove entries: a URL (resolved against baseURL; the URL itself, its query variants and sub-paths),
|
|
467
|
+
* a RegExp tested against keys, or a predicate. Resolves with the number removed.
|
|
468
|
+
*/
|
|
469
|
+
invalidate(match: string | RegExp | ((key: string) => boolean)): Promise<number>;
|
|
470
|
+
}
|
|
471
|
+
interface ExiosStatic extends Pick<Exios, (typeof METHODS)[number] | "defaults" | "interceptors" | "breaker" | "cache"> {
|
|
379
472
|
<T = any, R = ExiosResponse<T>, D = any>(config: ExiosRequestConfig<D>): Promise<R>;
|
|
380
473
|
<T = any, R = ExiosResponse<T>, D = any>(url: string, config?: ExiosRequestConfig<D>): Promise<R>;
|
|
381
474
|
create(config?: ExiosRequestConfig): ExiosStatic;
|
|
@@ -384,6 +477,21 @@ type ExiosInstance = ExiosStatic;
|
|
|
384
477
|
|
|
385
478
|
declare function mergeConfig(a: ExiosRequestConfig, b?: ExiosRequestConfig): ExiosRequestConfig;
|
|
386
479
|
|
|
480
|
+
/** In-memory LRU cache: the default provider. Expired entries are dropped when read. */
|
|
481
|
+
declare class MemoryCache implements CacheProvider {
|
|
482
|
+
private readonly map;
|
|
483
|
+
readonly maxEntries: number;
|
|
484
|
+
constructor(options?: {
|
|
485
|
+
maxEntries?: number;
|
|
486
|
+
});
|
|
487
|
+
get size(): number;
|
|
488
|
+
get(key: string): CacheEntry | undefined;
|
|
489
|
+
set(key: string, entry: CacheEntry): void;
|
|
490
|
+
delete(key: string): void;
|
|
491
|
+
clear(): void;
|
|
492
|
+
keys(): Iterable<string>;
|
|
493
|
+
}
|
|
494
|
+
|
|
387
495
|
declare function toFormData(obj: object, fd?: FormData): FormData;
|
|
388
496
|
|
|
389
497
|
declare const statics: {
|
|
@@ -395,10 +503,11 @@ declare const statics: {
|
|
|
395
503
|
isCancel: typeof isCancel;
|
|
396
504
|
mergeConfig: typeof mergeConfig;
|
|
397
505
|
toFormData: typeof toFormData;
|
|
506
|
+
MemoryCache: typeof MemoryCache;
|
|
398
507
|
};
|
|
399
508
|
type ExiosDefault = ExiosStatic & typeof statics;
|
|
400
509
|
declare const exios: ExiosDefault;
|
|
401
510
|
declare const create: (config?: ExiosRequestConfig) => ExiosStatic;
|
|
402
511
|
|
|
403
|
-
export { CancelToken, CanceledError, CircuitOpenError, ExiosError, InterceptorManager, create, exios as default, isCancel, isExiosError, mergeConfig, toFormData };
|
|
404
|
-
export type { AdapterConfig, AdapterFn, AdapterName, BreakerConfig, BreakerState, CancelTokenSource, CanceledEvent, Canceler, CircuitEvent, ErrorEvent, ErrorMeta, ExiosDefault, ExiosDefaults, ExiosEventListener, ExiosEventMap, ExiosEventName, ExiosInstance, ExiosRequestConfig, ExiosResponse, ExiosStatic, HeaderValue, HeadersDefaults, InterceptorHandler, InterceptorOptions, InternalConfig, Method, Outcome, ProgressEvent, ProxyConfig, RawHeaders, RequestBreakerOverride, RequestEvent, RequestEventBase, ResponseEvent, ResponseMeta, ResponseType, RetryConfig, RetryEvent, TimeoutEvent, Transformer };
|
|
512
|
+
export { CancelToken, CanceledError, CircuitOpenError, ExiosError, InterceptorManager, MemoryCache, create, exios as default, isCancel, isExiosError, mergeConfig, toFormData };
|
|
513
|
+
export type { AdapterConfig, AdapterFn, AdapterName, BreakerConfig, BreakerState, CacheConfig, CacheEntry, CacheProvider, CancelTokenSource, CanceledEvent, Canceler, CircuitEvent, DedupeConfig, ErrorEvent, ErrorMeta, ExiosCache, ExiosDefault, ExiosDefaults, ExiosEventListener, ExiosEventMap, ExiosEventName, ExiosInstance, ExiosRequestConfig, ExiosResponse, ExiosStatic, HeaderValue, HeadersDefaults, InterceptorHandler, InterceptorOptions, InternalConfig, Method, Options, Outcome, ProgressEvent, ProxyConfig, RawHeaders, RequestBreakerOverride, RequestEvent, RequestEventBase, ResponseEvent, ResponseMeta, ResponseType, RetryConfig, RetryEvent, TimeoutEvent, Transformer };
|