terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ SetSpecialHeaders()

void System.Net.HttpWebRequest.SetSpecialHeaders ( string HeaderName,
string value )
inlineprivate

Definition at line 99 of file HttpWebRequest.cs.

100 {
101 if (!true)
102 {
103 }
104 string text = WebHeaderCollection.CheckBadChars(value, true);
105 this.webHeaders.RemoveInternal(HeaderName);
106 if (text._stringLength != 0)
107 {
108 this.webHeaders.AddInternal(HeaderName, text);
109 return;
110 }
111 }
WebHeaderCollection webHeaders
void AddInternal(string name, string value)

References System.Net.WebHeaderCollection.AddInternal(), System.Net.WebHeaderCollection.CheckBadChars(), System.Net.WebHeaderCollection.RemoveInternal(), System.text, System.value, and System.Net.HttpWebRequest.webHeaders.

Referenced by System.Net.HttpWebRequest.SetDateHeaderHelper().