Terraria v1.4.4.9
Terraria source code documentation
|
Classes | |
class | MimePartContext |
Public Member Functions | |
void | Dispose () |
Protected Attributes | |
ContentType | _contentType |
ContentDisposition | _contentDisposition |
Package Functions | |
MimePart () | |
void | SetContent (Stream stream) |
void | SetContent (Stream stream, string name, string mimeType) |
void | SetContent (Stream stream, ContentType contentType) |
void | Complete (IAsyncResult result, Exception e) |
void | ReadCallback (IAsyncResult result) |
void | ReadCallbackHandler (IAsyncResult result) |
void | WriteCallback (IAsyncResult result) |
void | WriteCallbackHandler (IAsyncResult result) |
Stream | GetEncodedStream (Stream stream) |
void | ContentStreamCallbackHandler (IAsyncResult result) |
void | ContentStreamCallback (IAsyncResult result) |
override IAsyncResult | BeginSend (BaseWriter writer, AsyncCallback callback, bool allowUnicode, object state) |
override void | Send (BaseWriter writer, bool allowUnicode) |
void | ResetStream () |
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 | |
Stream | Stream [get] |
ContentDisposition | ContentDisposition [get, set] |
TransferEncoding | TransferEncoding [get, set] |
string | ContentID [get, set] |
string | ContentLocation [get, set] |
NameValueCollection | Headers [get] |
ContentType | ContentType [get, set] |
Private Attributes | |
Stream | _stream |
bool | _streamSet |
bool | _streamUsedOnce |
AsyncCallback | _readCallback |
AsyncCallback | _writeCallback |
HeaderCollection | _headers |
Static Private Attributes | |
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 7 of file MimePart.cs.