The HttpListener type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| HttpListener | Overloaded. |
Methods
| Name | Description | |
|---|---|---|
| Create | Overloaded. | |
| Equals | (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 | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| 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
| Name | Description | |
|---|---|---|
| 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.) |