Table of Contents

Class HttpListenerAbstractEngine

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

Provides an implementation of HttpServerEngine using HttpListener.

public sealed class HttpListenerAbstractEngine : HttpServerEngine, IDisposable
Inheritance
HttpListenerAbstractEngine
Implements
Inherited Members

Constructors

HttpListenerAbstractEngine()

Initializes a new instance of the HttpListenerAbstractEngine class.

Properties

IdleConnectionTimeout

Gets or sets the timeout for idle connections.

Shared

Gets the shared instance of the HttpListenerAbstractEngine class.

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.