chickadee » schematra » websocket*

(websocket* path on-open on-text on-binary on-close on-error)syntax

Procedural form behind the websocket macro. All five handler thunks are required. Use this if you want to build a WebSocket route programmatically.