URL parameter decorator.
@WebSocketRoute.Param() is a parameter decorator function for the URL parameter with type casting and assertion.
@WebSocketRoute.Param()
It's almost same with the TypedParam, but @WebSocketRoute.Param() is only for WebSocket protocol router function decorated by WebSocketRoute.
URL parameter field name
Optional
URL parameter decorator.
@WebSocketRoute.Param()is a parameter decorator function for the URL parameter with type casting and assertion.It's almost same with the TypedParam, but
@WebSocketRoute.Param()is only for WebSocket protocol router function decorated by WebSocketRoute.