diff options
Diffstat (limited to 'node_modules/undici/types')
| -rw-r--r-- | node_modules/undici/types/client.d.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/node_modules/undici/types/client.d.ts b/node_modules/undici/types/client.d.ts index 22833ae..c292b9b 100644 --- a/node_modules/undici/types/client.d.ts +++ b/node_modules/undici/types/client.d.ts @@ -107,6 +107,12 @@ export declare namespace Client { } export interface WebSocketOptions { /** + * Maximum number of fragments in a message. + * Set to 0 to disable the limit. + * @default 131072 + */ + maxFragments?: number; + /** * Maximum allowed payload size in bytes for WebSocket messages. * Applied to uncompressed messages, compressed frame payloads, and decompressed (permessage-deflate) messages. * Set to 0 to disable the limit. |
