5 writes to SubProtocol
System.ServiceModel (5)
System\ServiceModel\Channels\TransportBindingElementImporter.cs (1)
169
httpTransport.WebSocketSettings.
SubProtocol
= WebSocketTransportSettings.SoapSubProtocol;
System\ServiceModel\Channels\WebSocketTransportSettings.cs (1)
45
this.
SubProtocol
= settings.SubProtocol;
System\ServiceModel\Configuration\WebSocketTransportSettingsElement.cs (1)
90
settings.
SubProtocol
= string.IsNullOrEmpty(this.SubProtocol) ? null : this.SubProtocol;
System\ServiceModel\NetHttpBinding.cs (1)
303
this.WebSocketSettings.
SubProtocol
= WebSocketTransportSettings.SoapSubProtocol;
System\ServiceModel\NetHttpsBinding.cs (1)
205
this.InternalWebSocketSettings.
SubProtocol
= WebSocketTransportSettings.SoapSubProtocol;
13 references to SubProtocol
System.ServiceModel (13)
System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (6)
243
if (this.WebSocketSettings.
SubProtocol
!= null)
245
request.Headers[WebSocketHelper.SecWebSocketProtocol] = this.WebSocketSettings.
SubProtocol
;
376
this.WebSocketSettings.
SubProtocol
,
445
if (this.WebSocketSettings.
SubProtocol
!= null)
447
CheckResponseHeader(response, WebSocketHelper.SecWebSocketProtocol, this.WebSocketSettings.
SubProtocol
, true);
540
string requested = this.WebSocketSettings.
SubProtocol
;
System\ServiceModel\Channels\HttpChannelListener.cs (1)
1113
innerPipeline = new DefaultWebSocketConnectionHandler(this.WebSocketSettings.
SubProtocol
, this.currentWebSocketVersion, this.MessageVersion, this.MessageEncoderFactory, this.TransferMode);
System\ServiceModel\Channels\WebSocketTransportSettings.cs (5)
45
this.SubProtocol = settings.
SubProtocol
;
191
&& StringComparer.OrdinalIgnoreCase.Compare(this.
SubProtocol
, other.
SubProtocol
) == 0
213
if (this.
SubProtocol
!= null)
215
hashcode ^= this.
SubProtocol
.ToLowerInvariant().GetHashCode();
System\ServiceModel\Configuration\WebSocketTransportSettingsElement.cs (1)
75
SetPropertyValueIfNotDefaultValue(ConfigurationStrings.SubProtocol, settings.
SubProtocol
);