Skip to content

Commit 1012ba5

Browse files
committed
Adding missing component x2
1 parent cb2ba3e commit 1012ba5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/durable-objects/best-practices/websockets.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebar:
55
order: 5
66
---
77

8-
import { Tabs, TabItem, GlossaryTooltip } from "~/components";
8+
import { Tabs, TabItem, GlossaryTooltip, Type } from "~/components";
99

1010
WebSockets are long-lived TCP connections that enable bi-directional, real-time communication between client and server. Both Cloudflare Durable Objects and Workers can act as WebSocket endpoints – either as a client or as a server. Because WebSocket sessions are long-lived, applications commonly use Durable Objects to accept either the client or server connection. While there are other use cases for using Workers exclusively with WebSockets, for example proxying WebSocket messages, WebSockets are most useful when combined with Durable Objects.
1111

0 commit comments

Comments
 (0)