Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/websockets.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ socket.on('disconnect', async (ctx) => {
```

```python !!
from nitric.resources import websocket
from nitric.resources import websocket, kv
from nitric.application import Nitric

socket = websocket("socket")
Expand Down Expand Up @@ -331,7 +331,7 @@ socket.on('message', async (ctx) => {
```

```python !!
from nitric.resources import websocket
from nitric.resources import websocket, kv
from nitric.application import Nitric

socket = websocket("socket")
Expand Down
Loading