Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
HeaderInfo.cs
Go to the documentation of this file.
1namespace System.Net;
2
3internal sealed class HeaderInfo
4{
5 internal readonly bool IsRequestRestricted;
6
7 internal readonly bool IsResponseRestricted;
8
9 internal readonly Func<string, string[]> Parser;
10
11 internal readonly string HeaderName;
12
13 internal readonly bool AllowMultiValues;
14
15 internal HeaderInfo(string name, bool requestRestricted, bool responseRestricted, bool multi, Func<string, string[]> parser)
16 {
17 HeaderName = name;
18 IsRequestRestricted = requestRestricted;
19 IsResponseRestricted = responseRestricted;
20 Parser = parser;
21 AllowMultiValues = multi;
22 }
23}
readonly bool IsResponseRestricted
Definition HeaderInfo.cs:7
readonly bool AllowMultiValues
Definition HeaderInfo.cs:13
readonly Func< string, string[]> Parser
Definition HeaderInfo.cs:9
readonly bool IsRequestRestricted
Definition HeaderInfo.cs:5
readonly string HeaderName
Definition HeaderInfo.cs:11
HeaderInfo(string name, bool requestRestricted, bool responseRestricted, bool multi, Func< string, string[]> parser)
Definition HeaderInfo.cs:15