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

◆ Close()

override void System.Net.ResponseStream.Close ( )
inlinevirtual

Reimplemented from System.IO.Stream.

Definition at line 77 of file ResponseStream.cs.

78 {
79 if (this.disposed)
80 {
81 return;
82 }
83 int num = 1;
84 int num2 = 1;
85 this.disposed = num != 0;
86 MemoryStream headers = this.GetHeaders(num2 != 0);
87 Stream stream = this.stream;
88 bool chunked = this.response.chunked;
89 if (headers != null)
90 {
91 if (chunked)
92 {
93 bool flag = this.trailer_sent;
94 if (!flag)
95 {
96 if (!flag)
97 {
98 }
99 int num3 = 1;
100 byte[] chunkSizeBytes = ResponseStream.GetChunkSizeBytes(0, num3 != 0);
101 }
102 }
103 int num4 = 1;
104 this.trailer_sent = num4 != 0;
105 this.response.Close();
106 return;
107 }
108 while (!chunked)
109 {
110 }
111 bool flag2 = this.trailer_sent;
112 while (flag2)
113 {
114 }
115 if (!flag2)
116 {
117 }
118 int num5 = 1;
119 byte[] chunkSizeBytes2 = ResponseStream.GetChunkSizeBytes(0, num5 != 0);
120 }
class f__AnonymousType0<< Count > j__TPar
MemoryStream GetHeaders(bool closing)
HttpListenerResponse response

References System.Net.HttpListenerResponse.chunked, System.Net.HttpListenerResponse.Close(), System.Net.ResponseStream.disposed, System.Net.ResponseStream.GetChunkSizeBytes(), System.Net.ResponseStream.GetHeaders(), j__TPar, System.Net.ResponseStream.response, System.Net.ResponseStream.stream, and System.Net.ResponseStream.trailer_sent.