Skip to content

Commit 502101f

Browse files
committed
Fixing link
1 parent ede7bf4 commit 502101f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/docs/durable-objects/features/websockets.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This guide covers how to use Durable Objects as WebSocket servers that can conne
1111

1212
There are two sets of WebSockets API
1313

14-
1. Native Durable Object WebSocket API, which allows your Durable Object to hibernate without disconnecting clients when not actively doing work **(recommended)**
14+
1. Native Durable Object WebSocket API, which allows your Durable Object to hibernate without disconnecting clients when not actively doing work **(recommended)**.
1515
2. Web Standard WebSocket APIs, using the familiar `addEventListener` event pattern.
1616

1717
### What are WebSockets?
@@ -138,7 +138,7 @@ export class WebSocketHibernationServer extends DurableObject {
138138

139139
</TabItem> </Tabs>
140140

141-
Similar to the WebSocket Standard API example, to execute this code, configure your Wrangler file to include a Durable Object [binding](/durable-objects/get-started/tutorial/#5-configure-durable-object-bindings) and [migration](/durable-objects/reference/durable-objects-migrations/) based on the <GlossaryTooltip term="namespace">namespace</GlossaryTooltip> and class name chosen previously.
141+
Similar to the WebSocket Standard API example, to execute this code, configure your Wrangler file to include a Durable Object [binding](/durable-objects/get-started/#4-configure-durable-object-bindings) and [migration](/durable-objects/reference/durable-objects-migrations/) based on the <GlossaryTooltip term="namespace">namespace</GlossaryTooltip> and class name chosen previously.
142142

143143
```toml title="wrangler.toml"
144144
name = "websocket-hibernation-server"

0 commit comments

Comments
 (0)