[Modify] Rename it

This commit is contained in:
sta 2017-05-10 16:38:01 +09:00
parent de4f97013f
commit f7b2ee6501

View File

@ -48,7 +48,7 @@ namespace WebSocketSharp.Net
#region Private Fields #region Private Fields
private X509CertificateCollection _clientCerts; private X509CertificateCollection _clientCerts;
private string _host; private string _targetHost;
#endregion #endregion
@ -97,7 +97,7 @@ namespace WebSocketSharp.Net
) )
: base (enabledSslProtocols, checkCertificateRevocation) : base (enabledSslProtocols, checkCertificateRevocation)
{ {
_host = targetHost; _targetHost = targetHost;
_clientCerts = clientCertificates; _clientCerts = clientCertificates;
} }
@ -185,11 +185,11 @@ namespace WebSocketSharp.Net
/// </value> /// </value>
public string TargetHost { public string TargetHost {
get { get {
return _host; return _targetHost;
} }
set { set {
_host = value; _targetHost = value;
} }
} }