HttpListener Methods
.NET Framework 4.5
The HttpListener type exposes the following members.
| 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. |
|
EndGetContext | Completes an asynchronous operation to retrieve an incoming client request. |
|
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
|
GetContext | Waits for an incoming request and returns when one is received. |
|
GetContextAsync | Waits for an incoming request as an asynchronous operation. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the Type of the current 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 | |
|---|---|---|
|
IDisposable.Dispose | Infrastructure. Releases the resources held by this HttpListener object. |