C# Class System.Net.HttpListener

Inheritance: IDisposable
Mostra file Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description
AddAllPrefixes void
AddChallenge void
AddPrefix void
AttachRequestQueueToUrlGroup void
BuildChallenge ArrayList
CheckDisposed void
CleanupV2Config void
ClearDigestCache void
CloseRequestQueueHandle void
ContainsPrefix bool
CreateRequestQueueHandle void
DangerousGetHandle IntPtr
DetachRequestQueueFromUrlGroup void
Dispose void
Dispose void
GetChannelBindingFromTls ChannelBinding
GetTokenOffsetFromBlob int
GetTokenSizeFromBlob int
HandleAuthentication HttpListenerContext
InternalAddPrefix uint
InternalRemovePrefix bool
RegisterForDisconnectNotification void
RemoveAll void
RemovePrefix bool
SaveDigestContext void
SendError void
SetAuthenticationHeaders void
SetServerTimeout void
SetUrlGroupProperty void
SetupV2Config void
ValidateRequest bool
ValidateV2Property void

Public Methods

Method Description
Abort ( ) : void
BeginGetContext ( AsyncCallback callback, object state ) : IAsyncResult
Close ( ) : void
EndGetContext ( IAsyncResult asyncResult ) : HttpListenerContext
GetContext ( ) : HttpListenerContext
GetContextAsync ( ) : Task
HttpListener ( ) : Microsoft.Win32.SafeHandles
HttpListener ( ) : System.Collections
IDisposable ( ) : void
Start ( ) : void
Stop ( ) : void

Private Methods

Method Description
AddAllPrefixes ( ) : void
AddChallenge ( ArrayList &challenges, string challenge ) : void
AddPrefix ( string uriPrefix ) : void
AttachRequestQueueToUrlGroup ( ) : void
BuildChallenge ( AuthenticationSchemes authenticationScheme, ulong connectionId, NTAuthentication &newContext, ExtendedProtectionPolicy policy, bool isSecureConnection ) : ArrayList
CheckDisposed ( ) : void
CleanupV2Config ( ) : void
ClearDigestCache ( ) : void
CloseRequestQueueHandle ( ) : void
ContainsPrefix ( string uriPrefix ) : bool
CreateRequestQueueHandle ( ) : void
DangerousGetHandle ( ) : IntPtr
DetachRequestQueueFromUrlGroup ( ) : void
Dispose ( ) : void
Dispose ( bool disposing ) : void
GetChannelBindingFromTls ( ulong connectionId ) : ChannelBinding
GetTokenOffsetFromBlob ( IntPtr blob ) : int
GetTokenSizeFromBlob ( IntPtr blob ) : int
HandleAuthentication ( RequestContextBase memoryBlob, bool &stoleBlob ) : HttpListenerContext
InternalAddPrefix ( string uriPrefix ) : uint
InternalRemovePrefix ( string uriPrefix ) : bool
RegisterForDisconnectNotification ( ulong connectionId, DisconnectAsyncResult &disconnectResult ) : void
RemoveAll ( bool clear ) : void
RemovePrefix ( string uriPrefix ) : bool
SaveDigestContext ( NTAuthentication digestContext ) : void
SendError ( ulong requestId, HttpStatusCode httpStatusCode, ArrayList challenges ) : void
SetAuthenticationHeaders ( HttpListenerContext context ) : void
SetServerTimeout ( int timeouts, uint minSendBytesPerSecond ) : void
SetUrlGroupProperty ( Interop property, IntPtr info, uint infosize ) : void
SetupV2Config ( ) : void
ValidateRequest ( RequestContextBase requestMemory ) : bool
ValidateV2Property ( ) : void

Method Details

Abort() public method

public Abort ( ) : void
return void

BeginGetContext() public method

public BeginGetContext ( AsyncCallback callback, object state ) : IAsyncResult
callback AsyncCallback
state object
return IAsyncResult

Close() public method

public Close ( ) : void
return void

EndGetContext() public method

public EndGetContext ( IAsyncResult asyncResult ) : HttpListenerContext
asyncResult IAsyncResult
return HttpListenerContext

GetContext() public method

public GetContext ( ) : HttpListenerContext
return HttpListenerContext

GetContextAsync() public method

public GetContextAsync ( ) : Task
return Task

HttpListener() public method

public HttpListener ( ) : Microsoft.Win32.SafeHandles
return Microsoft.Win32.SafeHandles

HttpListener() public method

public HttpListener ( ) : System.Collections
return System.Collections

IDisposable() public method

public IDisposable ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void