Commit 4b8b59c7 authored by Honfika's avatar Honfika

make some properties get only

parent b87e57c2
......@@ -31,7 +31,7 @@ namespace Titanium.Web.Proxy.EventArguments
/// <summary>
/// Relative milliseconds for various events.
/// </summary>
public Dictionary<string, DateTime> TimeLine { get; set; } = new Dictionary<string, DateTime>();
public Dictionary<string, DateTime> TimeLine { get; } = new Dictionary<string, DateTime>();
/// <summary>
/// Initializes a new instance of the <see cref="SessionEventArgsBase" /> class.
......
......@@ -45,7 +45,7 @@ namespace Titanium.Web.Proxy.Models
/// <summary>
/// Header Name.
/// </summary>
public string Name { get; set; }
public string Name { get; }
/// <summary>
/// Header Value.
......
......@@ -42,7 +42,7 @@ namespace Titanium.Web.Proxy.Network.Tcp
Task.Run(async () => await clearOutdatedConnections());
}
internal ProxyServer Server { get; set; }
internal ProxyServer Server { get; }
internal string GetConnectionCacheKey(string remoteHostName, int remotePort,
bool isHttps, List<SslApplicationProtocol> applicationProtocols,
......
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