Commit 4b8b59c7 authored by Honfika's avatar Honfika

make some properties get only

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