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
Inheritance Hierarchy¶
System.Object
Microsoft.AspNetCore.Server.Kestrel.Internal.ServiceContext
Microsoft.AspNetCore.Server.Kestrel.Internal.Http.ListenerContext
Microsoft.AspNetCore.Server.Kestrel.Internal.Http.Listener
Microsoft.AspNetCore.Server.Kestrel.Internal.Http.ListenerPrimary
Microsoft.AspNetCore.Server.Kestrel.Internal.Http.PipeListenerPrimary
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: - listenSocket (Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvStreamHandle) – Socket being used to listen on
- status (System.Int32) – Connection status
protected override void OnConnection(UvStreamHandle listenSocket, int status)
-