Terraria v1.4.4.9
Terraria source code documentation
|
Classes | |
class | MimePartContext |
Protected Attributes | |
ContentType | _contentType |
ContentDisposition | _contentDisposition |
Package Functions | |
MimeMultiPart (MimeMultiPartType type) | |
void | Complete (IAsyncResult result, Exception e) |
void | MimeWriterCloseCallback (IAsyncResult result) |
void | MimePartSentCallback (IAsyncResult result) |
void | ContentStreamCallback (IAsyncResult result) |
override IAsyncResult | BeginSend (BaseWriter writer, AsyncCallback callback, bool allowUnicode, object state) |
override void | Send (BaseWriter writer, bool allowUnicode) |
string | GetNextBoundary () |
void | PrepareHeaders (bool allowUnicode) |
void | EndSend (IAsyncResult asyncResult) |
Static Package Functions | |
static bool | ShouldUseBase64Encoding (Encoding encoding) |
static string | EncodeHeaderValue (string value, Encoding encoding, bool base64Encoding) |
static string | EncodeHeaderValue (string value, Encoding encoding, bool base64Encoding, int headerLength) |
static string | DecodeHeaderValue (string value) |
static Encoding | DecodeEncoding (string value) |
static bool | IsAscii (string value, bool permitCROrLF) |
Properties | |
MimeMultiPartType | MimeMultiPartType [set] |
Collection< MimeBasePart > | Parts [get] |
string | ContentID [get, set] |
string | ContentLocation [get, set] |
NameValueCollection | Headers [get] |
ContentType | ContentType [get, set] |
Private Member Functions | |
void | SetType (MimeMultiPartType type) |
void | MimeWriterCloseCallbackHandler (IAsyncResult result) |
void | MimePartSentCallbackHandler (IAsyncResult result) |
void | ContentStreamCallbackHandler (IAsyncResult result) |
Private Attributes | |
Collection< MimeBasePart > | _parts |
AsyncCallback | _mimePartSentCallback |
bool | _allowUnicode |
HeaderCollection | _headers |
Static Private Attributes | |
static int | s_boundary |
static readonly char[] | s_decodeEncodingSplitChars = new char[3] { '?', '\r', '\n' } |
static readonly char[] | s_headerValueSplitChars = new char[3] { '\r', '\n', ' ' } |
static readonly char[] | s_questionMarkSplitChars = new char[1] { '?' } |
Definition at line 9 of file MimeMultiPart.cs.