C# 클래스 EvHttpSharp.EventHttpListener

상속: IEventHttpListener
파일 보기 프로젝트 열기: kekekeks/evhttp-sharp 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void
EventHttpListener ( RequestCallback cb ) : System
Shutdown ( ) : Task
Start ( IntPtr sharedSocket ) : void
Start ( string host, ushort port ) : void
StopListeningAsync ( ) : Task
WaitForPendingConnections ( ) : Task

비공개 메소드들

메소드 설명
CheckAlreadyListening ( ) : void
DecreaseRequestCounter ( ) : void
DoDispose ( ) : void
IncreaseRequestCounter ( ) : void
MainCycle ( TaskCompletionSource tcs ) : void
RequestHandler ( IntPtr request, IntPtr arg ) : void
Start ( EvHttpBoundSocket boundSocket ) : void
Sync ( System.Action cb ) : void
SyncCallback ( object sender, EventArgs eventArgs ) : void
SyncTask ( System.Action cb ) : Task

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

EventHttpListener() 공개 메소드

public EventHttpListener ( RequestCallback cb ) : System
cb RequestCallback
리턴 System

Shutdown() 공개 메소드

public Shutdown ( ) : Task
리턴 Task

Start() 공개 메소드

public Start ( IntPtr sharedSocket ) : void
sharedSocket System.IntPtr
리턴 void

Start() 공개 메소드

public Start ( string host, ushort port ) : void
host string
port ushort
리턴 void

StopListeningAsync() 공개 메소드

public StopListeningAsync ( ) : Task
리턴 Task

WaitForPendingConnections() 공개 메소드

public WaitForPendingConnections ( ) : Task
리턴 Task