undici-types 6.26.0 → 6.27.0
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/client.d.ts +6 -0
- package/package.json +1 -1
package/client.d.ts
CHANGED
|
@@ -106,6 +106,12 @@ export declare namespace Client {
|
|
|
106
106
|
bytesRead?: number
|
|
107
107
|
}
|
|
108
108
|
export interface WebSocketOptions {
|
|
109
|
+
/**
|
|
110
|
+
* Maximum number of fragments in a message.
|
|
111
|
+
* Set to 0 to disable the limit.
|
|
112
|
+
* @default 131072
|
|
113
|
+
*/
|
|
114
|
+
maxFragments?: number;
|
|
109
115
|
/**
|
|
110
116
|
* Maximum allowed payload size in bytes for WebSocket messages.
|
|
111
117
|
* Applied to uncompressed messages, compressed frame payloads, and decompressed (permessage-deflate) messages.
|