onUpgrade function
WebSocket on upgrade hook, Handler calls upgrade to run.
Implementation
void onUpgrade(Event event, UpgradeHandle handle) {
event.set(#spry.ws.on_upgrade, handle);
}
WebSocket on upgrade hook, Handler calls upgrade to run.
void onUpgrade(Event event, UpgradeHandle handle) {
event.set(#spry.ws.on_upgrade, handle);
}