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