Adds example of using preConnectionHandler, create OnConnectionHandler(preConnectionHandler), use WebSocketOptions for provides data

This commit is contained in:
Dmitri Shimanski
2025-03-30 00:43:20 +03:00
parent 8661e3eb58
commit b979b9bc22
6 changed files with 40 additions and 9 deletions

View File

@@ -112,6 +112,7 @@ public class ChatController : WebSocketController
}
```
## Run any code on connection to
## Lifecycle Management
1. **Connection** - Automatically handled by middleware