C# 클래스 Owin.Host.MonoHttpListener.OwinHttpListener

This wraps HttpListener and exposes it as an OWIN compatible server.
상속: IDisposable
파일 보기 프로젝트 열기: jkells/Owin.Host.MonoHttpListener 1 사용 예제들

Private Properties

프로퍼티 타입 설명
EndRequest void
GetPathAndQuery void
HandleAcceptError CatchInfoBase.CatchResult
HandleAcceptError void
OffloadStartNextRequest void
OwinHttpListener System
PopulateServerKeys void
Start void
StartNextRequestAsync void
StartProcessingRequest void
Stop void

공개 메소드들

메소드 설명
Dispose ( ) : void

Shuts down the listener and disposes it.

SetPumpLimits ( int maxAccepts, int maxRequests ) : void

These are merged as one call because they should be swapped out atomically. This controls how many requests the server attempts to process concurrently.

비공개 메소드들

메소드 설명
EndRequest ( OwinHttpListenerContext owinContext, Exception ex ) : void
GetPathAndQuery ( string rawUrl, string &pathBase, string &path, string &query ) : void
HandleAcceptError ( CatchInfo errorInfo ) : CatchInfoBase.CatchResult
HandleAcceptError ( Exception ex ) : void
OffloadStartNextRequest ( ) : void
OwinHttpListener ( ) : System

Creates a listener wrapper that can be configured by the user before starting.

PopulateServerKeys ( CallEnvironment env ) : void
Start ( Mono listener, object>.Func appFunc, object>.IList addresses, object>.IDictionary capabilities ) : void

Starts the listener and request processing threads.

StartNextRequestAsync ( ) : void
StartProcessingRequest ( Mono.Net.HttpListenerContext context ) : void
Stop ( ) : void

메소드 상세

Dispose() 공개 메소드

Shuts down the listener and disposes it.
public Dispose ( ) : void
리턴 void

SetPumpLimits() 공개 메소드

These are merged as one call because they should be swapped out atomically. This controls how many requests the server attempts to process concurrently.
public SetPumpLimits ( int maxAccepts, int maxRequests ) : void
maxAccepts int The maximum number of pending request receives.
maxRequests int The maximum number of active requests being processed.
리턴 void