WebListener 类

定义

包装接受请求 Http.Sys API 的 HTTP 服务器。

public ref class WebListener sealed : IDisposable
public sealed class WebListener : IDisposable
type WebListener = class
    interface IDisposable
Public NotInheritable Class WebListener
Implements IDisposable
继承
WebListener
实现

构造函数

WebListener()

包装接受请求 Http.Sys API 的 HTTP 服务器。

WebListener(ILoggerFactory)

包装接受请求 Http.Sys API 的 HTTP 服务器。

WebListener(WebListenerSettings)

包装接受请求 Http.Sys API 的 HTTP 服务器。

属性

AuthenticationManager

包装接受请求 Http.Sys API 的 HTTP 服务器。

BufferResponses

包装接受请求 Http.Sys API 的 HTTP 服务器。

IsListening

包装接受请求 Http.Sys API 的 HTTP 服务器。

Settings

包装接受请求 Http.Sys API 的 HTTP 服务器。

TimeoutManager

公开 Http.Sys 超时配置。 还可以在注册表中配置这些配置。

UrlPrefixes

包装接受请求 Http.Sys API 的 HTTP 服务器。

方法

AcceptAsync()

接受来自传入请求队列的请求。

Dispose()

停止服务器并清理。

GetContextAsync()

包装接受请求 Http.Sys API 的 HTTP 服务器。

SetRequestQueueLimit(Int64)

设置要在 Http.Sys 中排队的最大请求数。

Start()

开始接受传入请求。

适用于