Mikael Dúi's WAMP Library for .NET
Adds WAMP classes to System.Net.WebSockets.Wamp
.
You can install it using the following .NET CLI command:
dotnet add package MikaelDui.Net.WebSockets.Wamp --version *
using System.Net.WebSockets.Wamp;
using WampSubscriberClient client = new()
await client.OpenAsync("wss://example.com/");
await client.SubscribeAsync("news");
var newsMessage = await client.ReceiveAsync();
Console.WriteLines("News received: " newsMessage.Elements[0].GetString());
await client.CloseAsync();