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

System.ServiceModel.Channels.WebSocketTransportSettings

public const string BinaryEncoderTransferModeHeader = "microsoft-binary-transfer-mode"

public const string BinaryMessageReceivedAction = "http://schemas.microsoft.com/2011/02/websockets/onbinarymessage"

public const string ConnectionOpenedAction = "http://schemas.microsoft.com/2011/02/session/onopen"

public const string SoapContentTypeHeader = "soap-content-type"

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; }