Skip to content

Commit

Permalink
Update index.d.ts (#1037)
Browse files Browse the repository at this point in the history
  • Loading branch information
morajabi authored Mar 17, 2024
1 parent 6d06ede commit 64fc000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ export interface WebSocketBehavior<UserData> {
/** 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. */
maxPayloadLength?: number;
/** Whether or not we should automatically close the socket when a message is dropped due to backpressure. Defaults to false. */
closeOnBackpressureLimit?: number;
closeOnBackpressureLimit?: boolean;
/** Maximum number of minutes a WebSocket may be connected before being closed by the server. 0 disables the feature. */
maxLifetime?: number;
/** Maximum amount of seconds that may pass without sending or getting a message. Connection is closed if this timeout passes. Resolution (granularity) for timeouts are typically 4 seconds, rounded to closest.
Expand Down

0 comments on commit 64fc000

Please sign in to comment.