terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
System.Net.WebHeaderCollection Class Reference
+ Inheritance diagram for System.Net.WebHeaderCollection:
+ Collaboration diagram for System.Net.WebHeaderCollection:

Classes

class  HeaderEncoding
 

Public Member Functions

void Add (HttpRequestHeader header, string value)
 
void Add (HttpResponseHeader header, string value)
 
void Set (HttpRequestHeader header, string value)
 
void Set (HttpResponseHeader header, string value)
 
void Remove (HttpRequestHeader header)
 
void Remove (HttpResponseHeader header)
 
override void Add (string name, string value)
 
void Add (string header)
 
override void Set (string name, string value)
 
override void Remove (string name)
 
override string[] GetValues (string header)
 
override string ToString ()
 
byte[] ToByteArray ()
 
 WebHeaderCollection ()
 
override void OnDeserialization (object sender)
 
override void GetObjectData (SerializationInfo serializationInfo, StreamingContext streamingContext)
 
override string Get (string name)
 
override IEnumerator GetEnumerator ()
 
override string Get (int index)
 
override string[] GetValues (int index)
 
override string GetKey (int index)
 
override void Clear ()
 
void Add (NameValueCollection c)
 
bool HasKeys ()
 
void CopyTo (global::System.Array array, int index)
 

Static Public Member Functions

static bool IsRestricted (string headerName)
 
static bool IsRestricted (string headerName, bool response)
 

Protected Member Functions

void AddWithoutValidate (string headerName, string headerValue)
 
 WebHeaderCollection (SerializationInfo serializationInfo, StreamingContext streamingContext)
 
void InvalidateCachedArrays ()
 
bool BaseHasKeys ()
 
void BaseAdd (string name, object value)
 
void BaseRemove (string name)
 
void BaseClear ()
 
object BaseGet (string name)
 
object BaseGet (int index)
 
void BaseSet (string name, object value)
 
string BaseGetKey (int index)
 
string[] BaseGetAllKeys ()
 

Package Functions

void SetInternal (HttpResponseHeader header, string value)
 
void SetAddVerified (string name, string value)
 
void AddInternal (string name, string value)
 
void ChangeInternal (string name, string value)
 
void RemoveInternal (string name)
 
void CheckUpdate (string name, string value)
 
void ThrowOnRestrictedHeader (string headerName)
 
void SetInternal (string name, string value)
 
string ToString (bool forTrace)
 
 WebHeaderCollection (WebHeaderCollectionType type)
 
 WebHeaderCollection (NameValueCollection cc)
 
unsafe DataParseStatus ParseHeaders (byte[] buffer, int size, ref int unparsed, ref int totalResponseHeadersLength, int maximumResponseHeadersLength, ref WebParseError parseError)
 
unsafe DataParseStatus ParseHeadersStrict (byte[] buffer, int size, ref int unparsed, ref int totalResponseHeadersLength, int maximumResponseHeadersLength, ref WebParseError parseError)
 
override bool InternalHasKeys ()
 

Static Package Functions

static bool AllowMultiValues (string name)
 
static string CheckBadChars (string name, bool isHeaderValue)
 
static bool IsValidToken (string token)
 
static bool ContainsNonAsciiChars (string token)
 
static string GetAsString (NameValueCollection cc, bool winInetCompat, bool forTrace)
 

Properties

string ContentLength [get, set]
 
string CacheControl [get, set]
 
string ContentType [get, set]
 
string Date [get, set]
 
string Expires [get, set]
 
string ETag [get, set]
 
string LastModified [get, set]
 
string Location [get, set]
 
string ProxyAuthenticate [get, set]
 
string SetCookie2 [get, set]
 
string SetCookie [get, set]
 
string Server [get, set]
 
string Via [get, set]
 
NameValueCollection InnerCollection [get, set]
 
bool AllowHttpRequestHeader [get, set]
 
bool AllowHttpResponseHeader [get, set]
 
string this[HttpRequestHeader header] [get, set]
 
string this[HttpResponseHeader header] [get, set]
 
override int Count [get, set]
 
override NameObjectCollectionBase.KeysCollection Keys [get, set]
 
override string[] AllKeys [get, set]
 
string this[string name] [get, set]
 
string this[int index] [get, set]
 
bool IsReadOnly [get, set]
 
object System.Collections.ICollection. SyncRoot [get, set]
 
bool System.Collections.ICollection. IsSynchronized [get, set]
 

Private Types

enum  RfcChar : byte {
  High , Reg , Ctl , CR ,
  LF , WS , Colon , Delim
}
 

Private Member Functions

void NormalizeCommonHeaders ()
 
void AddInternalNotCommon (string name, string value)
 
void System.Runtime.Serialization.ISerializable. GetObjectData (SerializationInfo serializationInfo, StreamingContext streamingContext)
 
void Reset ()
 
void Reset (int capacity)
 
NameObjectCollectionBase.NameObjectEntry FindEntry (string key)
 
void System.Collections.ICollection. CopyTo (Array array, int index)
 

Static Private Member Functions

static WebHeaderCollection ()
 
static string GetAsOneString (ArrayList list)
 
static string[] GetAsStringArray (ArrayList list)
 

Private Attributes

string[] m_CommonHeaders
 
int m_NumCommonHeaders
 
NameValueCollection m_InnerCollection
 
WebHeaderCollectionType m_Type
 
string[] _all
 
string[] _allKeys
 
bool _readOnly
 
ArrayList _entriesArray
 
IEqualityComparer _keyComparer
 
Hashtable _entriesTable
 
NameObjectCollectionBase.NameObjectEntry _nullKeyEntry
 
NameObjectCollectionBase.KeysCollection _keys
 
SerializationInfo _serializationInfo
 
int _version
 
object _syncRoot
 

Static Private Attributes

const int ApproxAveHeaderLineSize = 30
 
const int ApproxHighAvgNumHeaders = 16
 
static readonly HeaderInfoTable HInfo
 
static readonly string[] s_CommonHeaderNames
 
static readonly sbyte[] s_CommonHeaderHints
 
const int c_AcceptRanges = 0
 
const int c_ContentLength = 1
 
const int c_CacheControl = 2
 
const int c_ContentType = 3
 
const int c_Date = 4
 
const int c_Expires = 5
 
const int c_ETag = 6
 
const int c_LastModified = 7
 
const int c_Location = 8
 
const int c_ProxyAuthenticate = 9
 
const int c_P3P = 10
 
const int c_SetCookie2 = 11
 
const int c_SetCookie = 12
 
const int c_Server = 13
 
const int c_Via = 14
 
const int c_WwwAuthenticate = 15
 
const int c_XAspNetVersion = 16
 
const int c_XPoweredBy = 17
 
static readonly char[] HttpTrimCharacters
 
static WebHeaderCollection.RfcChar[] RfcCharMap
 
static StringComparer defaultComparer
 

Detailed Description

Definition at line 18 of file WebHeaderCollection.cs.


The documentation for this class was generated from the following file: