diff --git a/docs/generated/interfaces/WebSocketBehavior.html b/docs/generated/interfaces/WebSocketBehavior.html index 9b19bd50..f666f60e 100644 --- a/docs/generated/interfaces/WebSocketBehavior.html +++ b/docs/generated/interfaces/WebSocketBehavior.html @@ -9,7 +9,7 @@ Disable by using 0. Defaults to 120.
Maximum length of allowed backpressure per socket when publishing or sending messages. Slow receivers with too high backpressure will be skipped until they catch up or timeout. Defaults to 1024 * 1024.
Whether or not we should automatically send pings to uphold a stable connection given whatever idleTimeout.
Handler for close event, no matter if error, timeout or graceful close. You may not use WebSocket after this event. Do not send on this WebSocket from within here, it is closed.
diff --git a/docs/index.d.ts b/docs/index.d.ts index b8d1afda..fbb48e98 100644 --- a/docs/index.d.ts +++ b/docs/index.d.ts @@ -225,7 +225,7 @@ export interface WebSocketBehavior { /** Maximum length of allowed backpressure per socket when publishing or sending messages. Slow receivers with too high backpressure will be skipped until they catch up or timeout. Defaults to 1024 * 1024. */ maxBackpressure?: number; /** Whether or not we should automatically send pings to uphold a stable connection given whatever idleTimeout. */ - sendPingsAutomatically?: number; + sendPingsAutomatically?: boolean; /** Upgrade handler used to intercept HTTP upgrade requests and potentially upgrade to WebSocket. * See UpgradeAsync and UpgradeSync example files. */
Maximum length of received message. If a client tries to send you a message larger than this, the connection is immediately closed. Defaults to 16 * 1024.
-