The declarative form of one IWebSocketService.route() call — the entry
an application writes instead of calling route() imperatively after
start().
readonly
path: string
The exact URL path to accept upgrades on (e.g. /ws/chat).
readonly
handlers: WebSocketHandlers
The lifecycle callbacks, exactly as the imperative route() accepts.
readonly
optional
options: WebSocketRouteOptions
Per-route configuration, including the route's upgrade guards.