HttpListener Members
.NET Framework 3.0
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 | |
|---|---|---|
| AuthenticationSchemes | Gets or sets the scheme used to authenticate clients. |
| AuthenticationSchemeSelectorDelegate | Gets or sets the delegate called to determine the protocol used to authenticate clients. |
| 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. |
| IsListening | Gets a value that indicates whether HttpListener has been started. |
| IsSupported | Gets a value that indicates whether HttpListener can be used with the current operating system. |
| Prefixes | Gets the Uniform Resource Identifier (URI) prefixes handled by this HttpListener object. |
| Realm | Gets or sets the realm, or resource partition, associated with this HttpListener object. |
| 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. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Abort | Shuts down the HttpListener object immediately, discarding all currently queued requests. |
| BeginGetContext | Begins asynchronously retrieving an incoming request. |
| Close | Shuts down the HttpListener after processing all currently queued requests. |
| EndGetContext | Completes an asynchronous operation to retrieve an incoming client request. |
| Equals | Overloaded. Determines whether two Object instances are equal. (inherited from Object) |
| GetContext | Waits for an incoming request and returns when one is received. |
| GetHashCode | Serves as a hash function for a particular type. (inherited from Object) |
| GetType | Gets the Type of the current instance. (inherited from Object) |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) |
| Start | Allows this instance to receive incoming requests. |
| Stop | Causes this instance to stop receiving incoming requests. |
| ToString | Returns a String that represents the current Object. (inherited from Object) |
| Name | Description | |
|---|---|---|
| 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) |
| MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object) |