PipeListenerPrimary Class

An implementation of Microsoft.AspNetCore.Server.Kestrel.Internal.Http.ListenerPrimary using UNIX sockets.

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

Syntax

public class PipeListenerPrimary : ListenerPrimary, IAsyncDisposable
class Microsoft.AspNetCore.Server.Kestrel.Internal.Http.PipeListenerPrimary

Constructors

PipeListenerPrimary(Microsoft.AspNetCore.Server.Kestrel.Internal.ServiceContext)
public PipeListenerPrimary(ServiceContext serviceContext)

Methods

CreateListenSocket()

Creates the socket used to listen for incoming connections

Return type:Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvStreamHandle
protected override UvStreamHandle CreateListenSocket()
OnConnection(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvStreamHandle, System.Int32)

Handles an incoming connection

Arguments:
protected override void OnConnection(UvStreamHandle listenSocket, int status)