Add upgrade handler to fix WebSocketBehavior template deduction on old examples (#1131)
This commit is contained in:
@@ -22,6 +22,7 @@ int main() {
|
||||
.idleTimeout = 10,
|
||||
.maxBackpressure = 1 * 1024 * 1024,
|
||||
/* Handlers */
|
||||
.upgrade = nullptr,
|
||||
.open = [](auto *ws) {
|
||||
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user