Terraria v1.4.4.9
Terraria source code documentation
|
Classes | |
class | HeaderStoreItemInfo |
Public Member Functions | |
void | Add (string name, string? value) |
void | Add (string name, IEnumerable< string?> values) |
bool | TryAddWithoutValidation (string name, string? value) |
bool | TryAddWithoutValidation (string name, IEnumerable< string?> values) |
void | Clear () |
IEnumerable< string > | GetValues (string name) |
bool | TryGetValues (string name, [NotNullWhen(true)] out IEnumerable< string >? values) |
bool | Contains (string name) |
override string | ToString () |
IEnumerator< KeyValuePair< string, IEnumerable< string > > > | GetEnumerator () |
bool | Remove (string name) |
Protected Member Functions | |
HttpHeaders () | |
Static Package Functions | |
static void | CheckContainsNewLine (string value) |
static string[] | GetStoreValuesAsStringArray (HeaderDescriptor descriptor, HeaderStoreItemInfo info) |
static void | GetStoreValuesAsStringOrStringArray (HeaderDescriptor descriptor, object sourceValues, out string singleValue, out string[] multiValue) |
static int | GetStoreValuesIntoStringArray (HeaderDescriptor descriptor, object sourceValues, [NotNull] ref string[] values) |
Properties | |
Dictionary< HeaderDescriptor, object >? | HeaderStore [get] |
HttpHeadersNonValidated | NonValidated [get] |
Private Attributes | |
Dictionary< HeaderDescriptor, object > | _headerStore |
readonly HttpHeaderType | _allowedHeaderTypes |
readonly HttpHeaderType | _treatAsCustomHeaderTypes |
Definition at line 10 of file HttpHeaders.cs.