SuperSocket.Client
2.0.2-beta.1
See the version list below for details.
dotnet add package SuperSocket.Client --version 2.0.2-beta.1
NuGet\Install-Package SuperSocket.Client -Version 2.0.2-beta.1
<PackageReference Include="SuperSocket.Client" Version="2.0.2-beta.1" />
<PackageVersion Include="SuperSocket.Client" Version="2.0.2-beta.1" />
<PackageReference Include="SuperSocket.Client" />
paket add SuperSocket.Client --version 2.0.2-beta.1
#r "nuget: SuperSocket.Client, 2.0.2-beta.1"
#:package SuperSocket.Client@2.0.2-beta.1
#addin nuget:?package=SuperSocket.Client&version=2.0.2-beta.1&prerelease
#tool nuget:?package=SuperSocket.Client&version=2.0.2-beta.1&prerelease
Release Note: SuperSocket 2.0.2-beta.1
Overview
SuperSocket 2.0.2-beta.1 is a beta release that enhances the flexibility of pipeline filters by removing the constraint requiring a default constructor. This change significantly improves dependency injection support for pipeline filters across the framework.
Key Improvements
Enhanced Dependency Injection Support for Pipeline Filters
- Removed the constraint requiring pipeline filters to have a parameterless constructor (
new()
constraint) - This change enables pipeline filters to receive dependencies through constructor injection
- Modified all relevant method signatures across the framework to support this new flexibility
Affected Components
The new()
constraint was removed from the following interfaces and methods:
In
ISuperSocketHostBuilder<TReceivePackage>
interface:UsePipelineFilter<TPipelineFilter>()
method
In
HostBuilderExtensions
class:AsSuperSocketHostBuilder<TReceivePackage, TPipelineFilter>()
method
In
MultipleServerHostBuilder
class:AddServer<TReceivePackage, TPipelineFilter>()
methodAddServer<TSuperSocketService, TReceivePackage, TPipelineFilter>()
method
In
SuperSocketHostBuilder
class and static methods:UsePipelineFilter<TPipelineFilter>()
methodCreate<TReceivePackage, TPipelineFilter>()
methods
Compatibility
This change is backward compatible with existing code. Pipeline filters with default constructors will continue to work as before, but now you can also create pipeline filters that require dependencies to be injected.
Example Usage
With this change, you can now create pipeline filters that require dependencies:
public class MyPipelineFilter : IPipelineFilter<TextPackageInfo>
{
private readonly ILogger<MyPipelineFilter> _logger;
private readonly IConfiguration _configuration;
// Constructor with dependencies - now supported!
public MyPipelineFilter(ILogger<MyPipelineFilter> logger, IConfiguration configuration)
{
_logger = logger;
_configuration = configuration;
}
// Implementation details...
}
// Register and use the filter
hostBuilder.AsSuperSocketHostBuilder<TextPackageInfo, MyPipelineFilter>();
Release Status
This is a beta release intended for testing. Please report any issues you encounter on the GitHub repository.
Contributors
- Kerry Jiang
Links
- GitHub Repository: https://github.com/kerryjiang/SuperSocket
- Documentation: https://docs.supersocket.net/
- NuGet Packages: https://www.nuget.org/packages?q=SuperSocket
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. 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 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 is compatible. net8.0-android was computed. net8.0-android34.0 is compatible. net8.0-browser was computed. net8.0-ios was computed. net8.0-ios18.0 is compatible. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-macos15.0 is compatible. net8.0-tvos was computed. net8.0-tvos18.0 is compatible. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-android35.0 is compatible. net9.0-browser was computed. net9.0-ios was computed. net9.0-ios18.0 is compatible. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-macos15.0 is compatible. net9.0-tvos was computed. net9.0-tvos18.0 is compatible. 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. |
-
net6.0
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
- SuperSocket.Connection (>= 2.0.2-beta.1)
- SuperSocket.ProtoBase (>= 2.0.2-beta.1)
-
net7.0
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
- SuperSocket.Connection (>= 2.0.2-beta.1)
- SuperSocket.ProtoBase (>= 2.0.2-beta.1)
-
net8.0
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
- SuperSocket.Connection (>= 2.0.2-beta.1)
- SuperSocket.ProtoBase (>= 2.0.2-beta.1)
-
net8.0-android34.0
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
- SuperSocket.Connection (>= 2.0.2-beta.1)
- SuperSocket.ProtoBase (>= 2.0.2-beta.1)
-
net8.0-ios18.0
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
- SuperSocket.Connection (>= 2.0.2-beta.1)
- SuperSocket.ProtoBase (>= 2.0.2-beta.1)
-
net8.0-macos15.0
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
- SuperSocket.Connection (>= 2.0.2-beta.1)
- SuperSocket.ProtoBase (>= 2.0.2-beta.1)
-
net8.0-tvos18.0
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
- SuperSocket.Connection (>= 2.0.2-beta.1)
- SuperSocket.ProtoBase (>= 2.0.2-beta.1)
-
net9.0
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
- SuperSocket.Connection (>= 2.0.2-beta.1)
- SuperSocket.ProtoBase (>= 2.0.2-beta.1)
-
net9.0-android35.0
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
- SuperSocket.Connection (>= 2.0.2-beta.1)
- SuperSocket.ProtoBase (>= 2.0.2-beta.1)
-
net9.0-ios18.0
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
- SuperSocket.Connection (>= 2.0.2-beta.1)
- SuperSocket.ProtoBase (>= 2.0.2-beta.1)
-
net9.0-macos15.0
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
- SuperSocket.Connection (>= 2.0.2-beta.1)
- SuperSocket.ProtoBase (>= 2.0.2-beta.1)
-
net9.0-tvos18.0
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
- SuperSocket.Connection (>= 2.0.2-beta.1)
- SuperSocket.ProtoBase (>= 2.0.2-beta.1)
NuGet packages (11)
Showing the top 5 NuGet packages that depend on SuperSocket.Client:
Package | Downloads |
---|---|
WebSocket4Net
A popular .NET websocket client. |
|
FastDFSCore.Transport.SuperSocket
分布式文件系统FastDFS c#客户端(基于SuperSocket传输) |
|
MTD.BM.Common
此模块为MTD系统基础模块,包含多个组件 |
|
SuperSocket.Client.Proxy
SuperSocket client proxy library implementing HTTP, SOCKS4, SOCKS4a and SOCKS5 proxy protocols for secure and anonymous network connectivity through intermediary servers. |
|
Library.SuperSocket
Supersocket推展 黑名单 JT协议 |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on SuperSocket.Client:
Repository | Stars |
---|---|
microsurging/surging
Surging is a micro-service engine that provides a lightweight, high-performance, modular RPC request pipeline. support Event-based Asynchronous Pattern and reactive programming ,The service engine supports http, TCP, WS,Grpc, Thrift,Mqtt, UDP, and DNS protocols. It uses ZooKeeper and Consul as a registry, and integrates it. Hash, random, polling, Fair Polling as a load balancing algorithm, built-in service governance to ensure reliable RPC communication, the engine contains Diagnostic, link tracking for protocol and middleware calls, and integration SkyWalking Distributed APM
|
|
kerryjiang/WebSocket4Net
A popular .NET WebSocket Client
|
Version | Downloads | Last Updated |
---|---|---|
2.0.2 | 551 | 7/10/2025 |
2.0.2-beta.1 | 167 | 5/25/2025 |
2.0.1 | 588 | 5/24/2025 |
2.0.0 | 626 | 4/20/2025 |
2.0.0-beta.31 | 506 | 4/2/2025 |
2.0.0-beta.30 | 320 | 1/26/2025 |
2.0.0-beta.28 | 439 | 11/2/2024 |
2.0.0-beta.27 | 229 | 9/30/2024 |
2.0.0-beta.26 | 1,941 | 8/31/2024 |
2.0.0-beta.25 | 262 | 8/21/2024 |
2.0.0-beta.24 | 704 | 6/29/2024 |
2.0.0-beta.23 | 535 | 6/1/2024 |
2.0.0-beta.22 | 343 | 5/25/2024 |
2.0.0-beta.21 | 477 | 5/4/2024 |
2.0.0-beta.20.448 | 343 | 4/14/2024 |
2.0.0-beta.18 | 2,158 | 8/30/2023 |
2.0.0-beta.17 | 1,050 | 6/4/2023 |
2.0.0-beta.16 | 598 | 5/10/2023 |
2.0.0-beta.15 | 1,346 | 3/5/2023 |
2.0.0-beta.14 | 261 | 2/21/2023 |
2.0.0-beta.13 | 498 | 1/17/2023 |
2.0.0-beta.12 | 626 | 10/30/2022 |
2.0.0-beta.11 | 1,451 | 5/6/2022 |
2.0.0-beta.10 | 38,150 | 5/29/2021 |
2.0.0-beta.9 | 401 | 5/26/2021 |
2.0.0-beta.8 | 8,889 | 1/23/2021 |