Share via


HttpConnectionOptions.UseStatefulReconnect 属性

定义

设置为在客户端和服务器之间启用有状态重新连接,这将允许重新连接,从而保留断开连接时发送的消息。 当重新连接成功时,还会保留 ConnectionId

public bool UseStatefulReconnect { get; set; }
member this.UseStatefulReconnect : bool with get, set
Public Property UseStatefulReconnect As Boolean

属性值

注解

当前仅适用于 WebSocket 传输。

适用于