C# 클래스 Nancy.Hosting.Event2.NancyEvent2Host

상속: IDisposable
파일 보기 프로젝트 열기: kekekeks/evhttp-sharp

공개 메소드들

메소드 설명
Dispose ( ) : void
NancyEvent2Host ( string host, int port, INancyBootstrapper bootstrapper ) : System
NancyEvent2Host ( string host, int port, INancyBootstrapper bootstrapper, int workers ) : System
Start ( ) : void
StopAsync ( ) : Task

보호된 메소드들

메소드 설명
GetExceptionResponse ( Exception e ) : ResponseData
PostProcessNancyResponse ( Request request, Response response ) : void
PreProcessRequest ( EventHttpRequest request ) : void

비공개 메소드들

메소드 설명
CreateRequest ( string method, string host, string path, IDictionary headers, Nancy.IO.RequestStream body, string scheme, string query = null, string ip = null ) : Request
DoRespond ( EventHttpRequest req, ResponseData resp ) : void
RequestHandler ( EventHttpRequest req ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetExceptionResponse() 보호된 메소드

protected GetExceptionResponse ( Exception e ) : ResponseData
e System.Exception
리턴 ResponseData

NancyEvent2Host() 공개 메소드

public NancyEvent2Host ( string host, int port, INancyBootstrapper bootstrapper ) : System
host string
port int
bootstrapper INancyBootstrapper
리턴 System

NancyEvent2Host() 공개 메소드

public NancyEvent2Host ( string host, int port, INancyBootstrapper bootstrapper, int workers ) : System
host string
port int
bootstrapper INancyBootstrapper
workers int
리턴 System

PostProcessNancyResponse() 보호된 메소드

protected PostProcessNancyResponse ( Request request, Response response ) : void
request Request
response Response
리턴 void

PreProcessRequest() 보호된 메소드

protected PreProcessRequest ( EventHttpRequest request ) : void
request EvHttpSharp.EventHttpRequest
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

StopAsync() 공개 메소드

public StopAsync ( ) : Task
리턴 Task