Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
Cookie () | |
Cookie (string name, string? value) | |
Cookie (string name, string? value, string? path) | |
Cookie (string name, string? value, string? path, string? domain) | |
override bool | Equals ([NotNullWhen(true)] object? comparand) |
override int | GetHashCode () |
override string | ToString () |
Package Functions | |
bool | InternalSetName (string value) |
Cookie | Clone () |
bool | VerifySetDefaults (CookieVariant variant, Uri uri, bool isLocalDomain, string localDomain, bool setDefault, bool shouldThrow) |
void | ToString (StringBuilder sb) |
string | ToServerString () |
Package Attributes | |
bool | IsQuotedVersion |
bool | IsQuotedDomain |
Static Package Attributes | |
static readonly char[] | PortSplitDelimiters = new char[3] { ' ', ',', '"' } |
static readonly char[] | ReservedToName = new char[6] { '\t', '\r', '\n', '=', ';', ',' } |
static readonly char[] | ReservedToValue = new char[2] { ';', ',' } |
Properties | |
string | Comment [get, set] |
Uri? | CommentUri [get, set] |
bool | HttpOnly [get, set] |
bool | Discard [get, set] |
string | Domain [get, set] |
bool | DomainImplicit [get, set] |
bool | Expired [get, set] |
DateTime | Expires [get, set] |
string | Name [get, set] |
string | Path [get, set] |
bool | Plain [get] |
string | Port [get, set] |
int?[] | PortList [get] |
bool | Secure [get, set] |
DateTime | TimeStamp [get] |
string | Value [get, set] |
CookieVariant | Variant [get] |
string | DomainKey [get] |
int | Version [get, set] |
Static Private Member Functions | |
static bool | IsDomainEqualToHost (string domain, string host) |
static bool | DomainCharsTest (string name) |
Private Attributes | |
string | m_comment = string.Empty |
Uri | m_commentUri |
CookieVariant | m_cookieVariant = CookieVariant.Plain |
bool | m_discard |
string | m_domain = string.Empty |
bool | m_domain_implicit = true |
DateTime | m_expires = DateTime.MinValue |
string | m_name = string.Empty |
string | m_path = string.Empty |
bool | m_path_implicit = true |
string | m_port = string.Empty |
bool | m_port_implicit = true |
int[] | m_port_list |
bool | m_secure |
bool | m_httpOnly |
DateTime | m_timeStamp = DateTime.Now |
string | m_value = string.Empty |
int | m_version |
string | m_domainKey = string.Empty |