WebListener Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for