<PackageReference Include="System.ServiceModel.Http" Version="10.0.652802" />

System.ServiceModel.Channels.WebSocketTransportSettings

namespace System.ServiceModel.Channels { public sealed class WebSocketTransportSettings : IEquatable<WebSocketTransportSettings> { public const string BinaryMessageReceivedAction = "http://schemas.microsoft.com/2011/02/websockets/onbinarymessage"; public const string TextMessageReceivedAction = "http://schemas.microsoft.com/2011/02/websockets/ontextmessage"; public bool DisablePayloadMasking { get; set; } public TimeSpan KeepAliveInterval { get; set; } public string SubProtocol { get; set; } public WebSocketTransportUsage TransportUsage { get; set; } public WebSocketTransportSettings(); public bool Equals(WebSocketTransportSettings other); } }