RoutesWS extension

The ws extension.

on

Methods

ws<T>(String path, Hooks hooks, [Handler<T>? fallback]) → void

Available on Routes, provided by the RoutesWS extension

Register a websocket handler with hooks.