The HttpListener type exposes the following members.

Constructors

  NameDescription
HttpListenerOverloaded.

Methods

  NameDescription
CreateOverloaded.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
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.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
OnAcceptingSocket
Can be used to create filtering of new connections.
(Overrides HttpListenerBase..::.OnAcceptingSocket(Socket).)
Start
Start listen for new connections
(Inherited from HttpListenerBase.)
Stop
Stop the listener
(Inherited from HttpListenerBase.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
LogWriter
Gives you a change to receive log entries for all internals of the HTTP library.
(Inherited from HttpListenerBase.)
UseTraceLogs
True if we should turn on trace logs.
(Inherited from HttpListenerBase.)

Events

  NameDescription
Accepted
A client have been accepted, but not handled, by the listener.
ExceptionThrown
Catch exceptions not handled by the listener.
(Inherited from HttpListenerBase.)
RequestReceived
A request have been received from a IHttpClientContext.
(Inherited from HttpListenerBase.)

See Also