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