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

HttpRequestKeepAlive 属性

保持连接。

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

Definition

命名空间: TouchSocket.Http
程序集: TouchSocket.Http (在 TouchSocket.Http.dll 中) 版本:4.0.0-beta.143+5fcca7a4e70968794985dc3793adc50531308be6
C#
public bool KeepAlive { get; set; }

属性值

Boolean

参见