Questions tagged [azure-pubsub]

4 questions
2
votes
0 answers

Handling 'joinGroup' and 'sendToGroup' events in Azure PubSub with Azure Functions

I have an Azure PubSub service with an event handler configured using Azure Functions. With a basic web socket connection from a React app I can connect, send messages, and trigger events in Azure Functions. Client side JS: const ws = new…
Neil
  • 159
  • 10
1
vote
2 answers

Subscribing to Azure Pub Sub web service from react causes Unhandled Rejection (TypeError)

Based on the official documentation, i am able to get the subscribed messages. When i simply run the javascript code, it runs without any error. const WebSocket = require('ws'); const { WebPubSubServiceClient } =…
Nandha
  • 752
  • 1
  • 12
  • 37
1
vote
0 answers

How to read data from a websocket hosted on Azure API Management using a C# ClientWebSocket?

I have the following architecture piece that I am trying to test. My goal is to read data published to Azure API Management through the AzurePubSub using a WebSocket client from my C# Console App. Azure PubSub is another element you are seeing on…
Zinov
  • 3,817
  • 5
  • 36
  • 70
0
votes
1 answer

Unable to generate clientAccessUri for WebPubSubClient in typescript with @azure/web-pubsub and @azure/web-pubsub-client

I'm trying to use the Azure Web Pun Sub Service in my vuejs application which does the publish & subscribe both to a specific group (which is supposed to create dynamically and add users to this). Looking into the examples provide for…