Use Kestrel pipeline from ASP.NET Core for socket communications
Keywords: Kestrel, Pipeline
Users can get same socket communication performance as ASP.NET Kestrel by using KestrelPipeConnection in SuperSocket.
Reference the nuget package SuperSocket.Kestrel
dotnet cli
dotnet add package SuperSocket.Kestrel
Use Kestrel connection factory
var host = SuperSocketHostBuilder.Create<StringPackageInfo, CommandLinePipelineFilter>()
.UsePackageHandler(async (s, p) =>
{
// handle packages
})
.UseKestrelPipeConnection()
.Build();
await host.RunAsync();