Commit a2a7e4f3 authored by Taras Bulba's avatar Taras Bulba

Added another constructor to the ProxyServer to allow the root certificate...

Added another constructor to the ProxyServer to allow the root certificate name and issuer to be set
parent d3baf3f0
...@@ -118,8 +118,12 @@ namespace Titanium.Web.Proxy ...@@ -118,8 +118,12 @@ namespace Titanium.Web.Proxy
/// <summary> /// <summary>
/// Constructor /// Constructor
/// </summary> /// </summary>
public ProxyServer() public ProxyServer() : this(null, null) { }
public ProxyServer(string rootCertificateName, string rootCertificateIssuerName)
{ {
RootCertificateName = rootCertificateName;
RootCertificateIssuerName = rootCertificateIssuerName;
//default values //default values
ConnectionTimeOutSeconds = 120; ConnectionTimeOutSeconds = 120;
CertificateCacheTimeOutMinutes = 60; CertificateCacheTimeOutMinutes = 60;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment