3 writes to WebSocketSettings
System.ServiceModel (3)
System\ServiceModel\HttpBindingBase.cs (3)
34
this.httpsTransport.
WebSocketSettings
= this.httpTransport.WebSocketSettings;
344
this.httpTransport.
WebSocketSettings
= transport.WebSocketSettings;
345
this.httpsTransport.
WebSocketSettings
= transport.WebSocketSettings;
23 references to WebSocketSettings
System.ServiceModel (23)
System\ServiceModel\Channels\HttpChannelFactory.cs (1)
170
this.webSocketSettings = WebSocketHelper.GetRuntimeWebSocketSettings(bindingElement.
WebSocketSettings
);
System\ServiceModel\Channels\HttpChannelListener.cs (3)
114
this.webSocketSettings = WebSocketHelper.GetRuntimeWebSocketSettings(bindingElement.
WebSocketSettings
);
834
this.useWebSocketTransport = bindingElement.
WebSocketSettings
.TransportUsage == WebSocketTransportUsage.Always
835
|| (bindingElement.
WebSocketSettings
.TransportUsage == WebSocketTransportUsage.WhenDuplex && typeof(TChannel) != typeof(IReplyChannel));
System\ServiceModel\Channels\HttpTransportBindingElement.cs (10)
544
return this.
WebSocketSettings
.TransportUsage != WebSocketTransportUsage.Always;
548
return this.
WebSocketSettings
.TransportUsage != WebSocketTransportUsage.Never;
557
return this.
WebSocketSettings
.TransportUsage != WebSocketTransportUsage.Always;
561
return this.
WebSocketSettings
.TransportUsage != WebSocketTransportUsage.Never;
787
bool useWebSocketTransport = WebSocketHelper.UseWebSocketTransport(this.
WebSocketSettings
.TransportUsage, policyContext.Contract.IsDuplex());
843
if (this.
WebSocketSettings
.TransportUsage == WebSocketTransportUsage.Always)
882
bool useWebSocketTransport = WebSocketHelper.UseWebSocketTransport(this.
WebSocketSettings
.TransportUsage, endpointContext.ContractConversionContext.Contract.IsDuplex());
934
if (!this.
WebSocketSettings
.Equals(http.
WebSocketSettings
))
962
return !this.
WebSocketSettings
.Equals(HttpTransportDefaults.GetDefaultWebSocketTransportSettings());
System\ServiceModel\Channels\TransportBindingElementImporter.cs (2)
168
httpTransport.
WebSocketSettings
.TransportUsage = WebSocketTransportUsage.Always;
169
httpTransport.
WebSocketSettings
.SubProtocol = WebSocketTransportSettings.SoapSubProtocol;
System\ServiceModel\Configuration\HttpTransportElement.cs (2)
202
this.WebSocketSettings.ApplyConfiguration(binding.
WebSocketSettings
);
259
this.WebSocketSettings.InitializeFrom(source.
WebSocketSettings
);
System\ServiceModel\HttpBindingBase.cs (4)
34
this.httpsTransport.WebSocketSettings = this.httpTransport.
WebSocketSettings
;
253
return this.httpTransport.
WebSocketSettings
;
344
this.httpTransport.WebSocketSettings = transport.
WebSocketSettings
;
345
this.httpsTransport.WebSocketSettings = transport.
WebSocketSettings
;
System\ServiceModel\NetHttpBinding.cs (1)
220
if (transport == null || transport.
WebSocketSettings
.TransportUsage != WebSocketTransportUsage.Always)