WebListener WebListener WebListener Class

Definition

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

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

Constructors

WebListener() WebListener() WebListener()
WebListener(ILoggerFactory) WebListener(ILoggerFactory) WebListener(ILoggerFactory)
WebListener(WebListenerSettings) WebListener(WebListenerSettings) WebListener(WebListenerSettings)

Properties

AuthenticationManager AuthenticationManager AuthenticationManager
BufferResponses BufferResponses BufferResponses
IsListening IsListening IsListening
Settings Settings Settings
TimeoutManager TimeoutManager TimeoutManager

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

UrlPrefixes UrlPrefixes UrlPrefixes

Methods

AcceptAsync() AcceptAsync() AcceptAsync()

Accept a request from the incoming request queue.

Dispose() Dispose() Dispose()

Stop the server and clean up.

GetContextAsync() GetContextAsync() GetContextAsync()
SetRequestQueueLimit(Int64) SetRequestQueueLimit(Int64) SetRequestQueueLimit(Int64)

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

Start() Start() Start()

Start accepting incoming requests.

Applies to