25 lines
598 B
C#
Raw Normal View History

// <copyright>
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
namespace System.ServiceModel.Channels
{
public enum WebSocketTransportUsage
{
/// <summary>
/// Indicates WebSocket transport will be used for duplex service contracts only.
/// </summary>
WhenDuplex = 0,
/// <summary>
/// Indicates WebSocket transport will always be used.
/// </summary>
Always,
/// <summary>
/// Indicates WebSocket transport will never be used.
/// </summary>
Never
}
}