Hi Marco,
As most web applications open only one or a few websockets at the same time, we decided against supporting wildcards.
Feel free to share background information on your use case with us, maybe you can convince us to get active ;·)
Ciao, Christian
On Fri, Jun 23, 2023 at 11:21 AM Marco Lettere m.lettere@gmail.com wrote:
Dear all,
so I just found out that it is not possible to create websockets bound to dynamic paths.
If I try a websocket connection to
declare %ws:connect('/notification/subject/{$subject}') function log:subject() {};
I get an error (without significant logs). Whereas
declare %ws:connect('/notification/subject/one') function log:subject() {};
works well.
Does this have a motivation? Is there another way of meeting the requirement of having dynamic websocket channels?
Thanks in advance,
Marco.