HttpServer Members
From HttpServer.dll
| C# Webserver |
| HttpServer Members |
| HttpServer Class Constructors Methods Properties Events See Also Send Feedback |
The HttpServer type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| HttpServer | Initializes a new instance of the HttpServer class |
Methods
| Name | Description | |
|---|---|---|
| Add | Overloaded. | |
| DecodeBody |
Decodes the request body.
| |
| Equals | (Inherited from Object.) | |
| ErrorPage | Overloaded. | |
| 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.) | |
| GetRealm |
Realms are used by the AuthModules.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| HandleRequest |
Process an incoming request.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| OnClientDisconnected |
Can be overloaded to implement stuff when a client have been connected.
| |
| ProcessAuthentication |
Handle authentication
| |
| RequestAuthentication |
Will request authentication.
| |
| Start | Overloaded. | |
| Stop |
shut down the server and listeners
| |
| ToString | (Inherited from Object.) | |
| WriteLog |
write an entry to the log file
|
Properties
| Name | Description | |
|---|---|---|
| AuthenticationModules |
Modules used for authentication. The module that is is added first is used as
the default auth module.
| |
| FormDecoderProviders |
Form decoder providers are used to decode request body (which normally contains form data).
| |
| ServerName |
Server name sent in http responses.
| |
| SessionCookieName |
Name of cookie where session id is stord.
|
Events
| Name | Description | |
|---|---|---|
| ExceptionThrown |
Let's to receive unhandled exceptions from the threads.
| |
| LogEntryWritten |
Use this event to be able to get log entries into your favorite
log library.
| |
| RealmWanted |
Realms are used during http authentication.
Default realm is same as server name.
|