Azure Web PubSub disconnected event doesn't work on closed web socket

366 Views Asked by At

When I close the connection with a web socket by ws.close() on a client side. The disconnected Azure Function is not triggered. Please help! My binding is:

{
"bindings": [{
"type": "webPubSubTrigger",
"direction": "in",
"name": "data",
"hub": "hubName",
"eventName": "disconnected",
"eventType": "system"
}]
}

0

There are 0 best solutions below