PipeListener Class¶
Implementation of Microsoft.AspNetCore.Server.Kestrel.Internal.Http.Listener
that uses UNIX domain sockets as its transport.
- Namespace
Microsoft.AspNetCore.Server.Kestrel.Internal.Http
- Assemblies
- Microsoft.AspNetCore.Server.Kestrel
Syntax¶
public class PipeListener : Listener, IAsyncDisposable
-
class
Microsoft.AspNetCore.Server.Kestrel.Internal.Http.
PipeListener
Constructors¶
-
PipeListener
(Microsoft.AspNetCore.Server.Kestrel.Internal.ServiceContext)¶ public PipeListener(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)
-