Class
HttpServerEngine
Provides an abstract base class for HTTP server engines.
public abstract class HttpServerEngine : IDisposableInheritance #
Derived #
Implements #
Inherited Members #
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors #
| Name | Description |
|---|---|
| HttpServerEngine() |
Properties #
| Name | Description |
|---|---|
| EventLoopMecanism | Gets the event loop mechanism used by the server. |
| IdleConnectionTimeout | Gets or sets the timeout for idle connections. |
| ListeningPrefixes | Gets or sets the listening prefixes for the server. |
Methods #
| Name | Description |
|---|---|
| BeginGetContext(AsyncCallback?, object?) | Begins an asynchronous operation to get an HTTP context. |
| Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
| EndGetContext(IAsyncResult) | Ends an asynchronous operation to get an HTTP context. |
| GetContextAsync(CancellationToken) | Asynchronously obtains an HttpServerEngineContext. |
| OnConfiguring(HttpServer, HttpServerConfiguration) | Called when the server is being configured. |
| SetListeningHosts(IEnumerable<ListeningHost>) | Sets the listening hosts for the server. |
| StartServer() | Starts the HTTP server. |
| StopServer() | Stops the HTTP server. |