C# Class System.Net.HttpListener

Inheritance: IDisposable
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Private Properties

Свойство 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

Méthodes publiques

Méthode 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

Méthode 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 méthode

public Abort ( ) : void
Résultat void

BeginGetContext() public méthode

public BeginGetContext ( AsyncCallback callback, object state ) : IAsyncResult
callback AsyncCallback
state object
Résultat IAsyncResult

Close() public méthode

public Close ( ) : void
Résultat void

EndGetContext() public méthode

public EndGetContext ( IAsyncResult asyncResult ) : HttpListenerContext
asyncResult IAsyncResult
Résultat HttpListenerContext

GetContext() public méthode

public GetContext ( ) : HttpListenerContext
Résultat HttpListenerContext

GetContextAsync() public méthode

public GetContextAsync ( ) : Task
Résultat Task

HttpListener() public méthode

public HttpListener ( ) : Microsoft.Win32.SafeHandles
Résultat Microsoft.Win32.SafeHandles

HttpListener() public méthode

public HttpListener ( ) : System.Collections
Résultat System.Collections

IDisposable() public méthode

public IDisposable ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void