<PackageReference Include="System.ServiceModel.Http" Version="6.0.0-preview1.23060.3" />

System.ServiceModel.Channels.WebSocketTransportSettings

namespace System.ServiceModel.Channels { public sealed class WebSocketTransportSettings : IEquatable<WebSocketTransportSettings> { public const string ConnectionOpenedAction = "http://schemas.microsoft.com/2011/02/session/onopen"; 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 const string SoapContentTypeHeader = "soap-content-type"; public const string BinaryEncoderTransferModeHeader = "microsoft-binary-transfer-mode"; public WebSocketTransportUsage TransportUsage { get; set; } public TimeSpan KeepAliveInterval { get; set; } public string SubProtocol { get; set; } public bool DisablePayloadMasking { get; set; } public WebSocketTransportSettings(); public bool Equals(WebSocketTransportSettings other); } }