2 instantiations of WebSocketTransportSettings
System.ServiceModel (2)
System\ServiceModel\Channels\TransportDefaults.cs (1)
368return new WebSocketTransportSettings();
System\ServiceModel\Channels\WebSocketTransportSettings.cs (1)
223return new WebSocketTransportSettings(this);
45 references to WebSocketTransportSettings
System.ServiceModel (45)
System\ServiceModel\Channels\ClientWebSocketFactory.cs (1)
27public abstract WebSocket CreateWebSocket(Stream connection, WebSocketTransportSettings settings);
System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (4)
210string serverContentType = webResponse.Headers[WebSocketTransportSettings.SoapContentTypeHeader]; 213string serverTransferMode = webResponse.Headers[WebSocketTransportSettings.BinaryEncoderTransferModeHeader]; 254request.Headers[WebSocketTransportSettings.SoapContentTypeHeader] = this.channelFactory.WebSocketSoapContentType; 258request.Headers[WebSocketTransportSettings.BinaryEncoderTransferModeHeader] = this.channelFactory.TransferMode.ToString();
System\ServiceModel\Channels\DefaultWebSocketConnectionHandler.cs (4)
59if (!CheckHttpHeader(request, WebSocketTransportSettings.SoapContentTypeHeader, this.checkContentTypeFunc)) 64if (this.needToCheckTransferMode && !CheckHttpHeader(request, WebSocketTransportSettings.BinaryEncoderTransferModeHeader, this.checkTransferModeFunc)) 226response.Headers.Add(WebSocketTransportSettings.SoapContentTypeHeader, this.encoder.ContentType); 229response.Headers.Add(WebSocketTransportSettings.BinaryEncoderTransferModeHeader, this.transferMode.ToString());
System\ServiceModel\Channels\HttpChannelFactory.cs (6)
66WebSocketTransportSettings webSocketSettings; 279public WebSocketTransportSettings WebSocketSettings 471WebSocketTransportSettings.TransportUsageMethodName, 472typeof(WebSocketTransportSettings).Name, 483WebSocketTransportSettings.TransportUsageMethodName, 484typeof(WebSocketTransportSettings).Name,
System\ServiceModel\Channels\HttpChannelListener.cs (3)
59WebSocketTransportSettings webSocketSettings; 143public WebSocketTransportSettings WebSocketSettings 886return WebSocketTransportSettings.WebSocketMethod;
System\ServiceModel\Channels\HttpTransportBindingElement.cs (2)
40WebSocketTransportSettings webSocketSettings; 409public WebSocketTransportSettings WebSocketSettings
System\ServiceModel\Channels\HttpTransportManager.cs (1)
142requestMethod = WebSocketTransportSettings.WebSocketMethod;
System\ServiceModel\Channels\TransportBindingElementImporter.cs (1)
169httpTransport.WebSocketSettings.SubProtocol = WebSocketTransportSettings.SoapSubProtocol;
System\ServiceModel\Channels\TransportDefaults.cs (1)
366internal static WebSocketTransportSettings GetDefaultWebSocketTransportSettings()
System\ServiceModel\Channels\WebSocketHelper.cs (3)
206internal static WebSocketTransportSettings GetRuntimeWebSocketSettings(WebSocketTransportSettings settings) 208WebSocketTransportSettings runtimeSettings = settings.Clone();
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (4)
26WebSocketTransportSettings webSocketSettings; 77protected WebSocketTransportSettings WebSocketSettings 1000message.Headers.Action = WebSocketTransportSettings.BinaryMessageReceivedAction; 1006message.Headers.Action = WebSocketTransportSettings.TextMessageReceivedAction;
System\ServiceModel\Channels\WebSocketTransportSettings.cs (6)
13public sealed class WebSocketTransportSettings : IEquatable<WebSocketTransportSettings> 41WebSocketTransportSettings(WebSocketTransportSettings settings) 180public bool Equals(WebSocketTransportSettings other) 202WebSocketTransportSettings settings = obj as WebSocketTransportSettings; 221internal WebSocketTransportSettings Clone()
System\ServiceModel\Configuration\NetHttpWebSocketTransportSettingsElement.cs (1)
23[ConfigurationProperty(ConfigurationStrings.SubProtocol, DefaultValue = WebSocketTransportSettings.SoapSubProtocol)]
System\ServiceModel\Configuration\WebSocketTransportSettingsElement.cs (2)
65public void InitializeFrom(WebSocketTransportSettings settings) 80public void ApplyConfiguration(WebSocketTransportSettings settings)
System\ServiceModel\Description\OperationDescription.cs (1)
17internal const string SessionOpenedAction = Channels.WebSocketTransportSettings.ConnectionOpenedAction;
System\ServiceModel\HttpBindingBase.cs (1)
249internal WebSocketTransportSettings InternalWebSocketSettings
System\ServiceModel\NetHttpBinding.cs (2)
99public WebSocketTransportSettings WebSocketSettings 303this.WebSocketSettings.SubProtocol = WebSocketTransportSettings.SoapSubProtocol;
System\ServiceModel\NetHttpsBinding.cs (2)
100public WebSocketTransportSettings WebSocketSettings 205this.InternalWebSocketSettings.SubProtocol = WebSocketTransportSettings.SoapSubProtocol;