Class CadenteHttpServerEngine
- Namespace
- Sisk.Cadente.CoreEngine
- Assembly
- Sisk.Cadente.CoreEngine.dll
Represents an HTTP server engine based on the Cadente host. This class implements HttpServerEngine and IDisposable to manage the lifecycle of the HTTP server.
public sealed class CadenteHttpServerEngine : HttpServerEngine, IDisposable
- Inheritance
-
CadenteHttpServerEngine
- Implements
- Inherited Members
Constructors
- CadenteHttpServerEngine()
Initializes a new instance of the CadenteHttpServerEngine class.
- CadenteHttpServerEngine(Action<HttpHost>)
Initializes a new instance of the CadenteHttpServerEngine class with a specified action to set up each HTTP host.
Properties
- IdleConnectionTimeout
Gets or sets the timeout for idle connections.
Methods
- AddListeningPrefix(string)
Adds a listening prefix to the server.
- BeginGetContext(AsyncCallback?, object?)
Begins an asynchronous operation to get an HTTP context.
- ClearPrefixes()
Clears all listening prefixes from the server.
- Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
- EndGetContext(IAsyncResult)
Ends an asynchronous operation to get an HTTP context.
- StartServer()
Starts the HTTP server.
- StopServer()
Stops the HTTP server.