Skip to content

mikaeldui/wamp-dotnet

Repository files navigation

Mikael Dúi's WAMP Library for .NET

.NET CodeQL Analysis

image

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 *

Example

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();

About

WAMP support for System.Net.WebSockets.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

 
 
 

Languages