Websocket path parameters - optional or required?

Are websocket path parameters optional? In other words, given the following endpoint registration:

WebSocketRegister("/ws/thread/{threadid}/{userid}", threadListener);

Will the threadListener component handle both of these endpoints:



Or would I need to create a separate listener for each endpoint?

IIRC they are all required.

It’s simple to test :wink: