Hi @dheeraj awale
Yes, you can use Azure Web PubSub without the Microsoft SDK by connecting directly via WebSockets. Clients can use any WebSocket library to connect using a Client Access URL, which includes an access token for authentication.
The URL format is: wss://<service_name>.webpubsub.azure.com/client/hubs/<hub_name>?access_token=<token>
.
Clients can then send and receive messages in real-time, with custom message handling based on the defined packet structure.
By not using the Azure SDK, you lose features like automatic reconnections and simplified group management, requiring manual handling. Clients must be aware of the message packet structure for proper communication. Additionally, you’ll need to manage scalability and connection handling on your own, as Azure Web PubSub won't handle it for you.
Please accept as "Yes" if the answer provided is useful , so that you can help others in the community looking for remediation for similar issues.