HttpConnectionParamBean.SetTcpNoDelay(Boolean) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将此 bean 的参数集合中存储TCP_NODELAY设置。
[Android.Runtime.Register("setTcpNoDelay", "(Z)V", "GetSetTcpNoDelay_ZHandler")]
public virtual void SetTcpNoDelay(bool tcpNoDelay);
[<Android.Runtime.Register("setTcpNoDelay", "(Z)V", "GetSetTcpNoDelay_ZHandler")>]
abstract member SetTcpNoDelay : bool -> unit
override this.SetTcpNoDelay : bool -> unit
参数
- tcpNoDelay
- Boolean
true 启用TCP_NODELAY并禁用 Nagle 算法; false 使用 Nagle 算法。
- 特性
注解
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。