Export (0) Print
Expand All

HttpListener Members

Provides a simple, programmatically controlled HTTP protocol listener. This class cannot be inherited.

The following tables list the members exposed by the HttpListener type.

  Name Description
Public method HttpListener Initializes a new instance of the HttpListener class.
Top

  Name Description
Public property AuthenticationSchemes Gets or sets the scheme used to authenticate clients.
Public property AuthenticationSchemeSelectorDelegate Gets or sets the delegate called to determine the protocol used to authenticate clients.
Public property IgnoreWriteExceptions Gets or sets a Boolean value that specifies whether your application receives exceptions that occur when an HttpListener sends the response to the client.
Public property IsListening Gets a value that indicates whether HttpListener has been started.
Public property Static IsSupported Gets a value that indicates whether HttpListener can be used with the current operating system.
Public property Prefixes Gets the Uniform Resource Identifier (URI) prefixes handled by this HttpListener object.
Public property Realm Gets or sets the realm, or resource partition, associated with this HttpListener object.
Public property UnsafeConnectionNtlmAuthentication Gets or sets a Boolean value that controls whether, when NTLM is used, additional requests using the same Transmission Control Protocol (TCP) connection are required to authenticate.
Top

(see also Protected Methods )
  Name Description
Public method Abort Shuts down the HttpListener object immediately, discarding all currently queued requests.
Public method BeginGetContext Begins asynchronously retrieving an incoming request.
Public method Close Shuts down the HttpListener after processing all currently queued requests.
Public method EndGetContext Completes an asynchronous operation to retrieve an incoming client request.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetContext Waits for an incoming request and returns when one is received.
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Start Allows this instance to receive incoming requests.
Public method Stop Causes this instance to stop receiving incoming requests.
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top

  Name Description
Explicit interface implementation Method System.IDisposable.Dispose Releases the resources held by this HttpListener object.
Top

Community Additions

ADD
Show:
© 2014 Microsoft