The HttpServer type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| HttpServer | Overloaded. |
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 | Overloaded. |
Properties
| Name | Description | |
|---|---|---|
| AuthenticationModules |
Modules used for authentication. The module that is is added first is used as
the default authentication module.
| |
| BackLog |
Number of connections that can wait to be accepted by the server.
| |
| FormDecoderProviders |
Form decoder providers are used to decode request body (which normally contains form data).
| |
| LogWriter |
Specified where logging should go.
| |
| MaxQueueSize |
Gets or sets maximum number of requests queuing to be handled.
| |
| MaxRequestCount |
Gets or sets maximum number of allowed simultaneous requests.
| |
| ServerName |
Server name sent in HTTP responses.
| |
| SessionCookieName |
Name of cookie where session id is stored.
|
Events
| Name | Description | |
|---|---|---|
| ExceptionThrown |
Let's to receive unhandled exceptions from the threads.
| |
| RealmWanted |
Realms are used during HTTP authentication.
Default realm is same as server name.
|