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
|
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 () |
Static Private Attributes | |
static AsyncCallback | onread_cb |
const int | BufferSize = 8192 |
Definition at line 16 of file HttpConnection.cs.