ListenerSecondary Class

A secondary listener is delegated requests from a primary listener via a named pipe or UNIX domain socket.

Namespace
Microsoft.AspNetCore.Server.Kestrel.Internal.Http
Assemblies
  • Microsoft.AspNetCore.Server.Kestrel

Syntax

public abstract class ListenerSecondary : ListenerContext, IAsyncDisposable
class Microsoft.AspNetCore.Server.Kestrel.Internal.Http.ListenerSecondary

Constructors

ListenerSecondary(Microsoft.AspNetCore.Server.Kestrel.Internal.ServiceContext)
protected ListenerSecondary(ServiceContext serviceContext)

Methods

CreateAcceptSocket()

Creates a socket which can be used to accept an incoming connection

Return type:Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvStreamHandle
protected abstract UvStreamHandle CreateAcceptSocket()
DisposeAsync()
Return type:System.Threading.Tasks.Task
public Task DisposeAsync()
StartAsync(System.String, Microsoft.AspNetCore.Server.Kestrel.ServerAddress, Microsoft.AspNetCore.Server.Kestrel.Internal.KestrelThread)
Return type:System.Threading.Tasks.Task
public Task StartAsync(string pipeName, ServerAddress address, KestrelThread thread)