Azure Web PubSub
An Azure service that provides real-time messaging for web applications using WebSockets and the publish-subscribe pattern.
78 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am not able to setup eventhandler that forward user event to my web api.
Maybe I made some dumb mistake. Here is the way to reproduce it.
This can be easily done in the UI.
Like so:
az group create --name testresourcegroup --location eastus
az webpubsub create --name xxxxtestpubsub --resource-group testresourcegroup --location eastus --sku Free_F1
az webpubsub hub create -n "xxxtestpubsub" -g "testresourcegroup" --hub-name "testhub" --event-handler url-template="https://xxxxfucntion.azurewebsites.net/api/http_trigger1?code=xxx&name=jack" user-event-pattern="*" system-event="connected"
Whil I can curl the azure function easily, and see the invocation event.
But if I send a message via websocket using the tool from azure (https://quicktry.z13.web.core.windows.net/), I received nothing in the log nor the "invocations" page.