using System;
using System.Collections;
using System.Collections.Specialized;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Net
{
/// Contains protocol headers associated with a request or response.
// Token: 0x0200023A RID: 570
[Token(Token = "0x200023A")]
[DefaultMember("Item")]
[ComVisible(true)]
[Serializable]
public class WebHeaderCollection : NameValueCollection, ISerializable
{
// Token: 0x06000E3D RID: 3645 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E3D")]
[Address(RVA = "0x776FA0", Offset = "0x775FA0", VA = "0x180776FA0")]
private void NormalizeCommonHeaders()
{
}
// Token: 0x170002A4 RID: 676
// (get) Token: 0x06000E3E RID: 3646 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170002A4")]
private NameValueCollection InnerCollection
{
[Token(Token = "0x6000E3E")]
[Address(RVA = "0x778550", Offset = "0x777550", VA = "0x180778550")]
get
{
return null;
}
}
// Token: 0x06000E3F RID: 3647 RVA: 0x00007230 File Offset: 0x00005430
[Token(Token = "0x6000E3F")]
[Address(RVA = "0x775E20", Offset = "0x774E20", VA = "0x180775E20")]
internal static bool AllowMultiValues(string name)
{
return default(bool);
}
// Token: 0x170002A5 RID: 677
// (get) Token: 0x06000E40 RID: 3648 RVA: 0x00007248 File Offset: 0x00005448
[Token(Token = "0x170002A5")]
private bool AllowHttpRequestHeader
{
[Token(Token = "0x6000E40")]
[Address(RVA = "0x7784E0", Offset = "0x7774E0", VA = "0x1807784E0")]
get
{
return default(bool);
}
}
/// Removes the specified header from the collection.
/// The instance to remove from the collection.
/// This instance does not allow instances of .
// Token: 0x06000E41 RID: 3649 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E41")]
[Address(RVA = "0x777160", Offset = "0x776160", VA = "0x180777160")]
public void Remove(HttpRequestHeader header)
{
}
// Token: 0x06000E42 RID: 3650 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E42")]
[Address(RVA = "0x775990", Offset = "0x774990", VA = "0x180775990")]
internal void AddInternal(string name, string value)
{
}
// Token: 0x06000E43 RID: 3651 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E43")]
[Address(RVA = "0x775EC0", Offset = "0x774EC0", VA = "0x180775EC0")]
internal void ChangeInternal(string name, string value)
{
}
// Token: 0x06000E44 RID: 3652 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E44")]
[Address(RVA = "0x777100", Offset = "0x776100", VA = "0x180777100")]
internal void RemoveInternal(string name)
{
}
// Token: 0x06000E45 RID: 3653 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E45")]
[Address(RVA = "0x7763B0", Offset = "0x7753B0", VA = "0x1807763B0")]
internal void CheckUpdate(string name, string value)
{
}
// Token: 0x06000E46 RID: 3654 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000E46")]
[Address(RVA = "0x775F30", Offset = "0x774F30", VA = "0x180775F30")]
internal static string CheckBadChars(string name, bool isHeaderValue)
{
return null;
}
// Token: 0x06000E47 RID: 3655 RVA: 0x00007260 File Offset: 0x00005460
[Token(Token = "0x6000E47")]
[Address(RVA = "0x776470", Offset = "0x775470", VA = "0x180776470")]
internal static bool ContainsNonAsciiChars(string token)
{
return default(bool);
}
// Token: 0x06000E48 RID: 3656 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E48")]
[Address(RVA = "0x777770", Offset = "0x776770", VA = "0x180777770")]
internal void ThrowOnRestrictedHeader(string headerName)
{
}
/// Inserts a header with the specified name and value into the collection.
/// The header to add to the collection.
/// The content of the header.
///
/// is , , or contains invalid characters.
/// -or-
/// is a restricted header that must be set with a property setting.
/// -or-
/// contains invalid characters.
/// The length of is greater than 65535.
// Token: 0x06000E49 RID: 3657 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E49")]
[Address(RVA = "0x775C90", Offset = "0x774C90", VA = "0x180775C90", Slot = "15")]
public override void Add(string name, string value)
{
}
/// Inserts the specified header into the collection.
/// The header to add, with the name and value separated by a colon.
///
/// is or .
///
/// does not contain a colon (:) character.
/// The length of is greater than 65535.
/// -or-
/// The name part of is or contains invalid characters.
/// -or-
/// is a restricted header that should be set with a property.
/// -or-
/// The value part of contains invalid characters.
/// The length the string after the colon (:) is greater than 65535.
// Token: 0x06000E4A RID: 3658 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E4A")]
[Address(RVA = "0x775A00", Offset = "0x774A00", VA = "0x180775A00")]
public void Add(string header)
{
}
/// Sets the specified header to the specified value.
/// The header to set.
/// The content of the header to set.
///
/// is or .
/// The length of is greater than 65535.
///
/// is a restricted header.
/// -or-
/// or contain invalid characters.
// Token: 0x06000E4B RID: 3659 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E4B")]
[Address(RVA = "0x777540", Offset = "0x776540", VA = "0x180777540", Slot = "18")]
public override void Set(string name, string value)
{
}
// Token: 0x06000E4C RID: 3660 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E4C")]
[Address(RVA = "0x777350", Offset = "0x776350", VA = "0x180777350")]
internal void SetInternal(string name, string value)
{
}
/// Removes the specified header from the collection.
/// The name of the header to remove from the collection.
///
/// is .
///
/// is a restricted header.
/// -or-
/// contains invalid characters.
// Token: 0x06000E4D RID: 3661 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E4D")]
[Address(RVA = "0x777240", Offset = "0x776240", VA = "0x180777240", Slot = "19")]
public override void Remove(string name)
{
}
/// Gets an array of header values stored in a header.
/// The header to return.
/// An array of header strings.
// Token: 0x06000E4E RID: 3662 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000E4E")]
[Address(RVA = "0x776960", Offset = "0x775960", VA = "0x180776960", Slot = "17")]
public override string[] GetValues(string header)
{
return null;
}
/// This method is obsolete.
/// The representation of the collection.
// Token: 0x06000E4F RID: 3663 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000E4F")]
[Address(RVA = "0x777970", Offset = "0x776970", VA = "0x180777970", Slot = "3")]
public override string ToString()
{
return null;
}
// Token: 0x06000E50 RID: 3664 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000E50")]
[Address(RVA = "0x7764E0", Offset = "0x7754E0", VA = "0x1807764E0")]
internal static string GetAsString(NameValueCollection cc, bool winInetCompat, bool forTrace)
{
return null;
}
/// Initializes a new instance of the class.
// Token: 0x06000E51 RID: 3665 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E51")]
[Address(RVA = "0x778430", Offset = "0x777430", VA = "0x180778430")]
public WebHeaderCollection()
{
}
// Token: 0x06000E52 RID: 3666 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E52")]
[Address(RVA = "0x778360", Offset = "0x777360", VA = "0x180778360")]
internal WebHeaderCollection(WebHeaderCollectionType type)
{
}
/// Initializes a new instance of the class from the specified instances of the and classes.
/// A containing the information required to serialize the .
/// A containing the source of the serialized stream associated with the new .
///
/// contains invalid characters.
///
/// is a null reference or .
// Token: 0x06000E53 RID: 3667 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E53")]
[Address(RVA = "0x7781B0", Offset = "0x7771B0", VA = "0x1807781B0")]
protected WebHeaderCollection(SerializationInfo serializationInfo, StreamingContext streamingContext)
{
}
/// Implements the interface and raises the deserialization event when the deserialization is complete.
/// The source of the deserialization event.
// Token: 0x06000E54 RID: 3668 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E54")]
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "12")]
public override void OnDeserialization(object sender)
{
}
/// Populates a with the data needed to serialize the target object.
/// The to populate with data.
/// A that specifies the destination for this serialization.
// Token: 0x06000E55 RID: 3669 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E55")]
[Address(RVA = "0x7767F0", Offset = "0x7757F0", VA = "0x1807767F0", Slot = "11")]
public override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
{
}
/// Serializes this instance into the specified object.
/// The object into which this will be serialized.
/// The destination of the serialization.
// Token: 0x06000E56 RID: 3670 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E56")]
[Address(RVA = "0x777740", Offset = "0x776740", VA = "0x180777740", Slot = "9")]
void ISerializable.GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
{
}
/// Gets the value of a particular header in the collection, specified by the name of the header.
/// The name of the Web header.
/// A holding the value of the specified header.
// Token: 0x06000E57 RID: 3671 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000E57")]
[Address(RVA = "0x776BD0", Offset = "0x775BD0", VA = "0x180776BD0", Slot = "16")]
public override string Get(string name)
{
return null;
}
/// Returns an enumerator that can iterate through the instance.
/// An for the .
// Token: 0x06000E58 RID: 3672 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000E58")]
[Address(RVA = "0x776730", Offset = "0x775730", VA = "0x180776730", Slot = "13")]
public override IEnumerator GetEnumerator()
{
return null;
}
/// Gets the number of headers in the collection.
/// An indicating the number of headers in a request.
// Token: 0x170002A6 RID: 678
// (get) Token: 0x06000E59 RID: 3673 RVA: 0x00007278 File Offset: 0x00005478
[Token(Token = "0x170002A6")]
public override int Count
{
[Token(Token = "0x6000E59")]
[Address(RVA = "0x778510", Offset = "0x777510", VA = "0x180778510", Slot = "14")]
get
{
return 0;
}
}
/// Gets the value of a particular header in the collection, specified by an index into the collection.
/// The zero-based index of the key to get from the collection.
/// A containing the value of the specified header.
///
/// is negative.
/// -or-
/// exceeds the size of the collection.
// Token: 0x06000E5A RID: 3674 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000E5A")]
[Address(RVA = "0x776B80", Offset = "0x775B80", VA = "0x180776B80", Slot = "20")]
public override string Get(int index)
{
return null;
}
/// Gets the header name at the specified position in the collection.
/// The zero-based index of the key to get from the collection.
/// A holding the header name.
///
/// is negative.
/// -or-
/// exceeds the size of the collection.
// Token: 0x06000E5B RID: 3675 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000E5B")]
[Address(RVA = "0x7767A0", Offset = "0x7757A0", VA = "0x1807767A0", Slot = "21")]
public override string GetKey(int index)
{
return null;
}
/// Gets all header names (keys) in the collection.
/// An array of type containing all header names in a Web request.
// Token: 0x170002A7 RID: 679
// (get) Token: 0x06000E5C RID: 3676 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170002A7")]
public override string[] AllKeys
{
[Token(Token = "0x6000E5C")]
[Address(RVA = "0x7784A0", Offset = "0x7774A0", VA = "0x1807784A0", Slot = "22")]
get
{
return null;
}
}
// Token: 0x0400085E RID: 2142
[Token(Token = "0x400085E")]
private static readonly HeaderInfoTable HInfo;
// Token: 0x0400085F RID: 2143
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
[Token(Token = "0x400085F")]
private string[] m_CommonHeaders;
// Token: 0x04000860 RID: 2144
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
[Token(Token = "0x4000860")]
private int m_NumCommonHeaders;
// Token: 0x04000861 RID: 2145
[Token(Token = "0x4000861")]
private static readonly string[] s_CommonHeaderNames;
// Token: 0x04000862 RID: 2146
[Token(Token = "0x4000862")]
private static readonly sbyte[] s_CommonHeaderHints;
// Token: 0x04000863 RID: 2147
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
[Token(Token = "0x4000863")]
private NameValueCollection m_InnerCollection;
// Token: 0x04000864 RID: 2148
[global::Cpp2IlInjected.FieldOffset(Offset = "0x78")]
[Token(Token = "0x4000864")]
private WebHeaderCollectionType m_Type;
// Token: 0x04000865 RID: 2149
[Token(Token = "0x4000865")]
private static readonly char[] HttpTrimCharacters;
// Token: 0x04000866 RID: 2150
[Token(Token = "0x4000866")]
private static WebHeaderCollection.RfcChar[] RfcCharMap;
// Token: 0x0200023B RID: 571
[Token(Token = "0x200023B")]
private enum RfcChar : byte
{
// Token: 0x04000868 RID: 2152
[Token(Token = "0x4000868")]
High,
// Token: 0x04000869 RID: 2153
[Token(Token = "0x4000869")]
Reg,
// Token: 0x0400086A RID: 2154
[Token(Token = "0x400086A")]
Ctl,
// Token: 0x0400086B RID: 2155
[Token(Token = "0x400086B")]
CR,
// Token: 0x0400086C RID: 2156
[Token(Token = "0x400086C")]
LF,
// Token: 0x0400086D RID: 2157
[Token(Token = "0x400086D")]
WS,
// Token: 0x0400086E RID: 2158
[Token(Token = "0x400086E")]
Colon,
// Token: 0x0400086F RID: 2159
[Token(Token = "0x400086F")]
Delim
}
}
}