This documentation is archived and is not being maintained.

HttpListener Methods

The HttpListener type exposes the following members.

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 Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (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.)

Explicit interface implemetation Private method IDisposable.Dispose Infrastructure. Releases the resources held by this HttpListener object.