Wbskt.Client 0.0.5

dotnet add package Wbskt.Client --version 0.0.5
                    
NuGet\Install-Package Wbskt.Client -Version 0.0.5
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Wbskt.Client" Version="0.0.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Wbskt.Client" Version="0.0.5" />
                    
Directory.Packages.props
<PackageReference Include="Wbskt.Client" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Wbskt.Client --version 0.0.5
                    
#r "nuget: Wbskt.Client, 0.0.5"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Wbskt.Client&version=0.0.5
                    
Install as a Cake Addin
#tool nuget:?package=Wbskt.Client&version=0.0.5
                    
Install as a Cake Tool

Wbskt Client for Real-Time Communication

Wbskt.Client.CSharp project is a .NET-based client library designed for seamless real-time communication with the Wbskt platform. It provides robust features for managing WebSocket connections, sending and receiving messages, and handling authentication via JWT tokens. The library is highly configurable, supporting dynamic settings through IOptionsMonitor or custom configurations. Key functionalities include:

  • WebSocket Communication: Establishes and maintains WebSocket connections with retry mechanisms.
  • Authentication: Secure token-based authentication using JWT.
  • Message Handling: Processes incoming and outgoing messages with extensible payload handling.
  • Configuration Support: Flexible configuration options for server address, client details, and channel subscriptions.
  • Logging: Integrated logging for debugging and monitoring.

This project is ideal for applications requiring real-time updates, such as chat systems, live notifications, collaborative tools, and IoT services.


Setup

Go to wbskt.com, log in, and create a channel. You will need to provide a ChannelSecret, and after creation, your channel will be assigned a SubscriberId.

Now in your .NET application:

Add a reference to the Wbskt.Client.CSharp library from nuget.org, and then in your code:

var config = new WbsktConfigurationCustom
{
    ChannelDetails = new ChannelDetails()
    {
        Secret = "{ChannelSecret}", // The secret you provided when creating the channel.
        SubscriberId = "{SubscriberId}" // The ID you received when the channel was created.
    },
    ClientDetails = new ClientDetails
    {
        Name = "Bob's Application",
        UniqueId = Guid.NewGuid()
    },
};

Once you have the configuration, you can start listening:

// Your custom method. This will be triggered when an event is fired on the Wbskt server.
void BobsFunction(ClientPayload payload)
{
    // Your custom logic here.
}

// Initialize a listener (you can even have multiple listeners listening to different channels).
var listener = new WbsktListener(config);

// Register your method to the event.
listener.ReceivedPayloadEvent += BobsFunction;

// You can also have multiple custom methods registered to the same event.
listener.ReceivedPayloadEvent += AlicesFunction;

// Start listening.
listener.StartListening();

// Stop listening.
listener.StopListening();
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.0.5 65 5/10/2025
0.0.4 69 5/10/2025
0.0.3 144 5/6/2025
0.0.2 73 5/3/2025
0.0.1 70 5/3/2025