Skip to content

Commit c022686

Browse files
chore: reword things a little
1 parent 015a207 commit c022686

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

content/websockets/adapter.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ const wsAdapter = new WsAdapter(app, {
104104
return { event, data: payload };
105105
},
106106
});
107+
```
108+
109+
Alternatively, you can configure the message parser after the adapter is created by using the `setMessageParser` method.
107110

108111
#### Advanced (custom adapter)
109112

0 commit comments

Comments
 (0)