WebListener Class

Definition

An HTTP server wrapping the Http.Sys APIs that accepts requests.

public ref class WebListener sealed : IDisposable
public sealed class WebListener : IDisposable
type WebListener = class
    interface IDisposable
Public NotInheritable Class WebListener
Implements IDisposable
Inheritance
WebListener
Implements

Constructors

WebListener()
WebListener(ILoggerFactory)
WebListener(WebListenerSettings)

Properties

AuthenticationManager
BufferResponses
IsListening
Settings
TimeoutManager

Exposes the Http.Sys timeout configurations. These may also be configured in the registry.

UrlPrefixes

Methods

AcceptAsync()

Accept a request from the incoming request queue.

Dispose()

Stop the server and clean up.

GetContextAsync()
SetRequestQueueLimit(Int64)

Sets the maximum number of requests that will be queued up in Http.Sys.

Start()

Start accepting incoming requests.

Applies to