[Modify] Rename it
This commit is contained in:
parent
de4f97013f
commit
f7b2ee6501
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user