Hibernatable WebSocket: 如果客户端从未发送数据帧,服务器主动关闭连接后,连接将保持 10 秒钟的开放状态
作者: tm0h创建于 2026年9月29日更新于 2026年9月29日
A Durable Object accepts a WebSocket with `ctx.acceptWebSocket()` and later closes it with `ws.close(1000, "...")`. If the client has not sent any data frame on that socket, the connection stays open for about 10 s after the close handshake.
内容来源: cloudflare/workerd