C# 클래스 Nancy.Hosting.Self.NancyStreamHost

파일 보기 프로젝트 열기: serbrech/EventSourceSample 1 사용 예제들

공개 메소드들

메소드 설명
NancyStreamHost ( ) : System

Initializes a new instance of the NancyStreamHost class for the specfied baseUris.

NancyStreamHost ( INancyBootstrapper bootstrapper ) : System

Initializes a new instance of the NancyStreamHost class for the specfied baseUris, using the provided bootstrapper.

NancyStreamHost ( Uri baseUri, INancyBootstrapper bootstrapper ) : System

Initializes a new instance of the NancyStreamHost class for the specfied baseUri, using the provided bootstrapper.

Start ( ) : void

Start listening for incoming requests.

Stop ( ) : void

Stop listening for incoming requests.

비공개 메소드들

메소드 설명
ConvertNancyResponseToResponse ( System.Net.Response nancyResponse, HttpListenerResponse response ) : void
ConvertRequestToNancyRequest ( HttpListenerRequest request ) : System.Net.Request
GetExpectedRequestLength ( IDictionary incomingHeaders ) : long
GotCallback ( IAsyncResult ar ) : void
Process ( HttpListenerContext ctx ) : void

메소드 상세

NancyStreamHost() 공개 메소드

Initializes a new instance of the NancyStreamHost class for the specfied baseUris.
public NancyStreamHost ( ) : System
리턴 System

NancyStreamHost() 공개 메소드

Initializes a new instance of the NancyStreamHost class for the specfied baseUris, using the provided bootstrapper.
public NancyStreamHost ( INancyBootstrapper bootstrapper ) : System
bootstrapper INancyBootstrapper The boostrapper that should be used to handle the request.
리턴 System

NancyStreamHost() 공개 메소드

Initializes a new instance of the NancyStreamHost class for the specfied baseUri, using the provided bootstrapper.
public NancyStreamHost ( Uri baseUri, INancyBootstrapper bootstrapper ) : System
baseUri System.Uri The that the host will listen to.
bootstrapper INancyBootstrapper The boostrapper that should be used to handle the request.
리턴 System

Start() 공개 메소드

Start listening for incoming requests.
public Start ( ) : void
리턴 void

Stop() 공개 메소드

Stop listening for incoming requests.
public Stop ( ) : void
리턴 void