summaryrefslogtreecommitdiffstatshomepage
path: root/node_modules/undici/docs
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-05-12 16:20:31 +0200
committerEgor Tensin <egor@tensin.name>2026-05-12 16:20:31 +0200
commit3974efd722fa10f283df76342125776a352072dd (patch)
tree21b5240dc856fe452da37f21313a7e1c7801c17f /node_modules/undici/docs
parentworkflows/test: reschedule for my convenience (diff)
downloadcleanup-path-3974efd722fa10f283df76342125776a352072dd.tar.gz
cleanup-path-3974efd722fa10f283df76342125776a352072dd.zip
bump dependenciesv5.0.2
Diffstat (limited to 'node_modules/undici/docs')
-rw-r--r--node_modules/undici/docs/docs/api/Client.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/node_modules/undici/docs/docs/api/Client.md b/node_modules/undici/docs/docs/api/Client.md
index 03342f5..fdee5ea 100644
--- a/node_modules/undici/docs/docs/api/Client.md
+++ b/node_modules/undici/docs/docs/api/Client.md
@@ -26,6 +26,8 @@ Returns: `Client`
* **keepAliveTimeoutThreshold** `number | null` (optional) - Default: `2e3` - A number of milliseconds subtracted from server *keep-alive* hints when overriding `keepAliveTimeout` to account for timing inaccuracies caused by e.g. transport latency. Defaults to 2 seconds.
* **maxHeaderSize** `number | null` (optional) - Default: `--max-http-header-size` or `16384` - The maximum length of request headers in bytes. Defaults to Node.js' --max-http-header-size or 16KiB.
* **maxResponseSize** `number | null` (optional) - Default: `-1` - The maximum length of response body in bytes. Set to `-1` to disable.
+* **webSocket** `WebSocketOptions` (optional) - WebSocket-specific configuration options.
+ * **maxPayloadSize** `number` (optional) - Default: `134217728` (128 MB) - 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.
* **pipelining** `number | null` (optional) - Default: `1` - The amount of concurrent requests to be sent over the single TCP/TLS connection according to [RFC7230](https://tools.ietf.org/html/rfc7230#section-6.3.2). Carefully consider your workload and environment before enabling concurrent requests as pipelining may reduce performance if used incorrectly. Pipelining is sensitive to network stack settings as well as head of line blocking caused by e.g. long running requests. Set to `0` to disable keep-alive connections.
* **connect** `ConnectOptions | Function | null` (optional) - Default: `null`.
* **strictContentLength** `Boolean` (optional) - Default: `true` - Whether to treat request content length mismatches as errors. If true, an error is thrown when the request content-length header doesn't match the length of the request body.