Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
CookieContainer () | |
CookieContainer (int capacity) | |
CookieContainer (int capacity, int perDomainCapacity, int maxCookieSize) | |
void | Add (Cookie cookie) |
void | Add (CookieCollection cookies) |
void | Add (Uri uri, Cookie cookie) |
void | Add (Uri uri, CookieCollection cookies) |
CookieCollection | GetCookies (Uri uri) |
CookieCollection | GetAllCookies () |
string | GetCookieHeader (Uri uri) |
void | SetCookies (Uri uri, string cookieHeader) |
Static Public Attributes | |
const int | DefaultCookieLimit = 300 |
const int | DefaultPerDomainCookieLimit = 20 |
const int | DefaultCookieLengthLimit = 4096 |
Package Functions | |
void | Add (Cookie cookie, bool throwOnError) |
bool | IsLocalDomain (string host) |
CookieCollection | CookieCutter (Uri uri, string headerName, string setCookieHeader, bool isThrow) |
CookieCollection | InternalGetCookies (Uri uri) |
string | GetCookieHeader (Uri uri, out string optCookie2) |
Properties | |
int | Capacity [get, set] |
int | Count [get] |
int | MaxCookieSize [get, set] |
int | PerDomainCapacity [get, set] |
Private Member Functions | |
bool | AgeCookies (string domain) |
void | DomainTableCleanup () |
int | ExpireCollection (CookieCollection cc) |
void | BuildCookieCollectionFromDomainMatches (Uri uri, bool isSecure, int port, ref CookieCollection cookies, List< string > domainAttribute, bool matchOnlyPlainCookie) |
void | MergeUpdateCollections (ref CookieCollection destination, CookieCollection source, int port, bool isSecure, bool isPlainOnly) |
Static Private Member Functions | |
static string | CreateFqdnMyDomain () |
static bool | PathMatch (string requestPath, string cookiePath) |
Private Attributes | |
readonly Hashtable | m_domainTable = new Hashtable() |
int | m_maxCookieSize = 4096 |
int | m_maxCookies = 300 |
int | m_maxCookiesPerDomain = 20 |
int | m_count |
readonly string | m_fqdnMyDomain = s_fqdnMyDomain |
Static Private Attributes | |
static readonly string | s_fqdnMyDomain = CreateFqdnMyDomain() |
static readonly HeaderVariantInfo[] | s_headerInfo |
Definition at line 11 of file CookieContainer.cs.