C# Class Microsoft.AspNet.Server.Kestrel.Http.ListenerSecondary

A secondary listener is delegated requests from a primary listener via a named pipe or UNIX domain socket.
Inheritance: ListenerContext, IDisposable
Show file Open project: Starcounter/KestrelHttpServer Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Dispose ( ) : void
StartAsync ( string pipeName, ServerAddress address, KestrelThread thread, Task>.Func application ) : Task

Protected Methods

Method Description
CreateAcceptSocket ( ) : UvStreamHandle

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

ListenerSecondary ( ServiceContext serviceContext ) : System

Method Details

CreateAcceptSocket() protected abstract method

Creates a socket which can be used to accept an incoming connection
protected abstract CreateAcceptSocket ( ) : UvStreamHandle
return Microsoft.AspNet.Server.Kestrel.Networking.UvStreamHandle

Dispose() public method

public Dispose ( ) : void
return void

ListenerSecondary() protected method

protected ListenerSecondary ( ServiceContext serviceContext ) : System
serviceContext ServiceContext
return System

StartAsync() public method

public StartAsync ( string pipeName, ServerAddress address, KestrelThread thread, Task>.Func application ) : Task
pipeName string
address ServerAddress
thread KestrelThread
application Task>.Func
return Task