语言

HttpConnectionParamBean.SetTcpNoDelay(Boolean) 方法

定义

将此 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 算法。

特性

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于