Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ AddHeaders()

override void System.Net.Http.Headers.HttpResponseHeaders.AddHeaders ( HttpHeaders sourceHeaders)
inlinepackagevirtual

Reimplemented from System.Net.Http.Headers.HttpHeaders.

Definition at line 150 of file HttpResponseHeaders.cs.

151 {
152 base.AddHeaders(sourceHeaders);
153 HttpResponseHeaders httpResponseHeaders = sourceHeaders as HttpResponseHeaders;
154 if (httpResponseHeaders._generalHeaders != null)
155 {
156 GeneralHeaders.AddSpecialsFrom(httpResponseHeaders._generalHeaders);
157 }
158 }
void AddSpecialsFrom(HttpGeneralHeaders sourceHeaders)
HttpResponseHeaders(bool containsTrailingHeaders=false)

References System.Net.Http.Headers.HttpResponseHeaders.HttpResponseHeaders(), System.Net.Http.Headers.HttpResponseHeaders._generalHeaders, System.Net.Http.Headers.HttpGeneralHeaders.AddSpecialsFrom(), and System.Net.Http.Headers.HttpResponseHeaders.GeneralHeaders.

Referenced by System.Net.Http.HttpResponseMessage.StoreReceivedTrailingHeaders().