terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
System.Net.HttpConnection Class Referencesealed
+ Collaboration diagram for System.Net.HttpConnection:

Public Member Functions

 HttpConnection (Socket sock, EndPointListener epl, bool secure, X509Certificate cert)
 
void BeginReadRequest ()
 
RequestStream GetRequestStream (bool chunked, long contentlength)
 
ResponseStream GetResponseStream ()
 
void SendError (string msg, int status)
 
void SendError ()
 
void Close ()
 

Package Functions

void Close (bool force_close)
 

Properties

SslStream SslStream [get, set]
 
int[] ClientCertificateErrors [get, set]
 
X509Certificate2 ClientCertificate [get, set]
 
bool IsClosed [get, set]
 
int Reuses [get, set]
 
IPEndPoint LocalEndPoint [get, set]
 
IPEndPoint RemoteEndPoint [get, set]
 
bool IsSecure [get, set]
 
ListenerPrefix Prefix [get, set]
 

Private Types

enum  InputState { RequestLine , Headers }
 
enum  LineState { None , CR , LF }
 

Private Member Functions

void Init ()
 
void OnTimeout (object unused)
 
void OnReadInternal (IAsyncResult ares)
 
void RemoveConnection ()
 
bool ProcessInput (MemoryStream ms)
 
string ReadLine (byte[] buffer, int offset, int len, ref int used)
 
void Unbind ()
 
void CloseSocket ()
 
bool<.ctor > b__24_0 (object t, X509Certificate c, X509Chain ch, SslPolicyErrors e)
 

Static Private Member Functions

static void OnRead (IAsyncResult ares)
 
static HttpConnection ()
 

Private Attributes

Socket sock
 
Stream stream
 
EndPointListener epl
 
MemoryStream ms
 
byte[] buffer
 
HttpListenerContext context
 
StringBuilder current_line
 
ListenerPrefix prefix
 
RequestStream i_stream
 
ResponseStream o_stream
 
bool chunked
 
int reuses
 
bool context_bound
 
bool secure
 
X509Certificate cert
 
int s_timeout
 
Timer timer
 
IPEndPoint local_ep
 
HttpListener last_listener
 
int[] client_cert_errors
 
X509Certificate2 client_cert
 
SslStream ssl_stream
 
HttpConnection.InputState input_state
 
HttpConnection.LineState line_state
 
int position
 

Static Private Attributes

static AsyncCallback onread_cb
 
const int BufferSize = 8192
 

Detailed Description

Definition at line 16 of file HttpConnection.cs.


The documentation for this class was generated from the following file: