HttpListenerTimeoutManager 类

定义

要用于 HttpListener 对象的超时管理器。The timeout manager to use for an HttpListener object.

public ref class HttpListenerTimeoutManager
public class HttpListenerTimeoutManager
type HttpListenerTimeoutManager = class
Public Class HttpListenerTimeoutManager
继承
HttpListenerTimeoutManager

注解

超时管理器定义 HttpListener 实例的连接超时限制。The timeout manager defines the connection timeout limits for a HttpListener instance.

构造函数

HttpListenerTimeoutManager()

属性

DrainEntityBody

获取或设置允许 HttpListener 在保持的连接上侦听完实体正文的时间。Gets or sets the time allowed for the HttpListener to drain the entity body on a Keep-Alive connection.

EntityBody

获取或设置允许请求实体正文到达的时间。Gets or sets the time allowed for the request entity body to arrive.

HeaderWait

获取或设置允许 HttpListener 分析请求标头的时间。Gets or sets the time allowed for the HttpListener to parse the request header.

IdleConnection

获取或设置允许空闲连接的时间。Gets or sets the time allowed for an idle connection.

MinSendBytesPerSecond

获取或设置响应的最低发送速率(以每秒字节数为单位)。Gets or sets the minimum send rate, in bytes-per-second, for the response.

RequestQueue

获取或设置在 HttpListener 选取请求前允许请求在请求队列中停留的时间。Gets or sets the time allowed for the request to remain in the request queue before the HttpListener picks it up.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于

另请参阅