Sisk

Class

HttpListenerAbstractEngine

Namespace
Sisk.Core.Http.Engine
Assembly
Sisk.Core.dll

Provides an implementation of HttpServerEngine using HttpListener.

C#
public sealed class HttpListenerAbstractEngine : HttpServerEngine, IDisposable

Inheritance #

object ← HttpServerEngine ← HttpListenerAbstractEngine

Implements #

IDisposable

Inherited Members #

HttpServerEngine.SetListeningHosts(IEnumerable<ListeningHost>), HttpServerEngine.OnConfiguring(HttpServer, HttpServerConfiguration), HttpServerEngine.StartServer(), HttpServerEngine.StopServer(), HttpServerEngine.BeginGetContext(AsyncCallback?, object?), HttpServerEngine.EndGetContext(IAsyncResult), HttpServerEngine.GetContextAsync(CancellationToken), HttpServerEngine.Dispose(), HttpServerEngine.IdleConnectionTimeout, HttpServerEngine.ListeningPrefixes, HttpServerEngine.EventLoopMecanism, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors #

NameDescription
HttpListenerAbstractEngine()Initializes a new instance of the HttpListenerAbstractEngine class.

Properties #

NameDescription
EventLoopMecanismGets the event loop mechanism used by the server.
IdleConnectionTimeoutGets or sets the timeout for idle connections.
ListeningPrefixesGets or sets the listening prefixes for the server.

Methods #

NameDescription
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.

Type to search the documentation and the API reference.