一款简单易用的基础网络通讯组件库。

HttpRequestKeepAlive 属性

保持连接。

一般的,当是http1.1时,如果没有显式的Connection: close,即返回。当是http1.0时,如果没有显式的Connection: Keep-Alive,即返回

Definition

命名空间: TouchSocket.Http
程序集: TouchSocket.Http (在 TouchSocket.Http.dll 中) 版本:4.1.4.7+7f7e1f78093c99347956e09330d5d7aca1d2bdf2
C#
public bool KeepAlive { get; set; }

属性值

Boolean

参见