Microsoft.AspNetCore.Server.Kestrel.Core 命名空间      
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供用于自定义 Kestrel Web 服务器行为的选项类型,例如 KestrelServerOptions 和 ListenOptions 。
类
| BadHttpRequestException | 收到格式错误的 http 请求时引发的异常。 | 
| Http2Limits | 限制仅适用于 HTTP/2 连接。 | 
| Http3Limits | 限制仅适用于 HTTP/3 连接。 | 
| KestrelServer | Kestrel 服务器。 | 
| KestrelServerLimits | 的限制 KestrelServer。 | 
| KestrelServerOptions | 提供 Kestrel 特定功能的编程配置。 | 
| ListenOptions | 描述 IPEndPointKestrel 应绑定到或打开的已打开的套接字的 、Unix 域套接字路径、命名管道名称或文件描述符。 | 
| MinDataRate | 传入连接的最小数据速率。 | 
| ServerAddress | 提供用于自定义 Kestrel Web 服务器行为的选项类型,例如 KestrelServerOptions 和 ListenOptions 。 | 
枚举
| HttpProtocols | HTTP 协议版本 | 
注解
有关配置 Kestrel 的详细信息,请参阅 Kestrel 选项。