Couldn't you just add the websocket object as a re...
# server
t
Couldn't you just add the websocket object as a receiver so you could write onConnect instead of ws.onConnect in the lambda?