Woof.Net.WebSockets 7.0.0

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
dotnet add package Woof.Net.WebSockets --version 7.0.0
NuGet\Install-Package Woof.Net.WebSockets -Version 7.0.0
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="Woof.Net.WebSockets" Version="7.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Woof.Net.WebSockets --version 7.0.0
#r "nuget: Woof.Net.WebSockets, 7.0.0"
#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.
// Install Woof.Net.WebSockets as a Cake Addin
#addin nuget:?package=Woof.Net.WebSockets&version=7.0.0

// Install Woof.Net.WebSockets as a Cake Tool
#tool nuget:?package=Woof.Net.WebSockets&version=7.0.0

Woof.Net.WebSockets

A part of the Woof Tookit by CodeDog.

Distributed under MIT License. (c)2021 by CodeDog, All rights reserved.


About

WebSocket Server, WebSocket client. You can build a WS API.

Features:

A fast communication channel between any number of clients and the server. It's way faster than REST, it's almost real-time. Most online exchanges use it. The client can be used to access them. Also, the client can receive notifications from server immediately. It doesn't have to query the server all the time.

It also supports streaming. So it can stream audio, video and other data very fast. Streaming means you can request any part of the stream any time. No need to download a complete file.

Authentication is built in. Just implement IAuthenticationProvider and you can use your secure API keys, secrets and message signing. It works with real world crypto exchanges APIs.

Provides:

  • WebSocket client and server supporting any supprotocol and API.
  • Comaptible with other clients and servers.
  • Built-in subprotocol for fast and reliable message exchange.
  • Support for unreliable connections, servers and clients.
  • Support for any kind of authentication backend.
  • Fully asynchronous, modern implementation.
  • Simplicity (minimal implementation is trivial).
  • Performance.
  • Security (secure authentication and message signing support).
  • Reliability (a test bench included).

Usage

First time: Pull the Git repository. Run the provided test bench. See the test source. There is full documentation in XMLdoc.

Not first time: Just install Woof.Net.WebSockets with NuGet.

READ:

  • Docs/Basics.md to understand the basics,
  • Docs/API-guidelines.md file before defining your own API messages.

Disclaimer

This package is made for pros. For now. Using it requires some experience in making network based applications and using some basic DI. It makes implementing WebSocket APIs way easier, but it's not a trivial task using ANY programming library. The goal of the package is to move the low-level protocol handling out of the way. It's meant to make things like authentication or exception handling as simple as it gets. It doesn't mean it's simple per se. Let's say with this package is as simple as using REST, or even a little easier.

Woof Toolkit is a work in progress in constant development, however it's carefully maintained with production code quality.

PLEASE report all issues on GitHub!

Describe how to reproduce an issue. Also feel free to suggest new features or improvements.

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  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 was computed.  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. 
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
7.0.0 142 8/6/2023
6.2.0 455 2/20/2022
6.0.1 301 11/16/2021
6.0.0 325 11/9/2021
5.0.0 337 9/13/2021

.NET7 target.