C# Webserver |
HttpListener Members |
HttpListener Class Constructors Methods Properties Events See Also Send Feedback |
The HttpListener type exposes the following members.
Constructors
Name | Description | |
---|---|---|
HttpListener | Overloaded. |
Methods
Name | Description | |
---|---|---|
BeginAcceptSocket |
Start accepting a socket
| |
EndAcceptSocket | ||
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.) | |
Start |
Start listen for new connections
| |
Stop |
Stop the listener
| |
ToString | (Inherited from Object.) | |
WriteLog |
Write information to the log.
|
Properties
Name | Description | |
---|---|---|
DisconnectHandler |
Invoked when a client disconnects
| |
LogWriter |
Gives you a change to receive log entries for all internals of the http lib.
| |
RequestHandler |
This handler will be invoked each time a new connection is accepted.
|
Events
Name | Description | |
---|---|---|
ExceptionThrown |
Let's to receive unhandled exceptions from the threads.
|