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

◆ Redirect()

bool System.Net.HttpWebRequest.Redirect ( HttpStatusCode code,
WebResponse response )
inlineprivate

Definition at line 1602 of file HttpWebRequest.cs.

1603 {
1604 int num = this.redirects;
1605 this.redirects = num;
1606 bool flag = this.method == "POST";
1607 this.RewriteRedirectToGet();
1608 string text2;
1609 string text = "Invalid status code: " + text2;
1610 bool flag2 = this.method != "GET";
1611 if (this.allowBuffering)
1612 {
1614 }
1615 if (this.ResendContentFactory == null)
1616 {
1618 long num2 = this.contentLength;
1619 }
1620 bool flag3 = this.method == "GET";
1621 string text3;
1622 if (text3 != null)
1623 {
1624 global::System.Uri uri = this.actualUri;
1625 string scheme = uri.Scheme;
1626 string text4;
1627 return text4 != scheme;
1628 }
1629 }
class f__AnonymousType0<< Count > j__TPar
global::System.Uri actualUri
Func< Stream, Task > ResendContentFactory
string Scheme
Definition Uri.cs:1094

References System.Net.HttpWebRequest.actualUri, System.Net.HttpWebRequest.allowBuffering, System.Net.HttpWebRequest.contentLength, j__TPar, System.Net.HttpWebRequest.MethodWithBuffer, System.Net.HttpWebRequest.redirects, System.Net.HttpWebRequest.ResendContentFactory, System.Net.HttpWebRequest.RewriteRedirectToGet(), System.Uri.Scheme, System.text, System.Net.WebRequestStream.WriteBufferLength, and System.Net.HttpWebRequest.writeStream.