using System;
using System.Configuration;
using Cpp2IlInjected;
namespace System.Net.Configuration
{
/// Represents the maximum length for response headers. This class cannot be inherited.
// Token: 0x0200039E RID: 926
[Token(Token = "0x200039E")]
public sealed class HttpWebRequestElement : ConfigurationElement
{
/// Initializes a new instance of the class.
// Token: 0x06001869 RID: 6249 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001869")]
[Address(RVA = "0x29E58D0", Offset = "0x29E46D0", VA = "0x1829E58D0")]
public HttpWebRequestElement()
{
}
/// Gets or sets the maximum allowed length of an error response.
/// A 32-bit signed integer containing the maximum length in kilobytes (1024 bytes) of the error response. The default value is 64.
// Token: 0x1700054D RID: 1357
// (get) Token: 0x0600186A RID: 6250 RVA: 0x0000A908 File Offset: 0x00008B08
// (set) Token: 0x0600186B RID: 6251 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x1700054D")]
public int MaximumErrorResponseLength
{
[Token(Token = "0x600186A")]
[Address(RVA = "0x29E5900", Offset = "0x29E4700", VA = "0x1829E5900")]
get
{
return 0;
}
[Token(Token = "0x600186B")]
[Address(RVA = "0x29E59F0", Offset = "0x29E47F0", VA = "0x1829E59F0")]
set
{
}
}
/// Gets or sets the maximum allowed length of the response headers.
/// A 32-bit signed integer containing the maximum length in kilobytes (1024 bytes) of the response headers. The default value is 64.
// Token: 0x1700054E RID: 1358
// (get) Token: 0x0600186C RID: 6252 RVA: 0x0000A920 File Offset: 0x00008B20
// (set) Token: 0x0600186D RID: 6253 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x1700054E")]
public int MaximumResponseHeadersLength
{
[Token(Token = "0x600186C")]
[Address(RVA = "0x29E5930", Offset = "0x29E4730", VA = "0x1829E5930")]
get
{
return 0;
}
[Token(Token = "0x600186D")]
[Address(RVA = "0x29E5A20", Offset = "0x29E4820", VA = "0x1829E5A20")]
set
{
}
}
/// Gets or sets the maximum length of an upload in response to an unauthorized error code.
/// A 32-bit signed integer containing the maximum length (in multiple of 1,024 byte units) of an upload in response to an unauthorized error code. A value of -1 indicates that no size limit will be imposed on the upload. Setting the property to any other value will only send the request body if it is smaller than the number of bytes specified. So a value of 1 would indicate to only send the request body if it is smaller than 1,024 bytes.
/// The default value for this property is -1.
// Token: 0x1700054F RID: 1359
// (get) Token: 0x0600186E RID: 6254 RVA: 0x0000A938 File Offset: 0x00008B38
// (set) Token: 0x0600186F RID: 6255 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x1700054F")]
public int MaximumUnauthorizedUploadLength
{
[Token(Token = "0x600186E")]
[Address(RVA = "0x29E5960", Offset = "0x29E4760", VA = "0x1829E5960")]
get
{
return 0;
}
[Token(Token = "0x600186F")]
[Address(RVA = "0x29E5A50", Offset = "0x29E4850", VA = "0x1829E5A50")]
set
{
}
}
// Token: 0x17000550 RID: 1360
// (get) Token: 0x06001870 RID: 6256 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000550")]
protected override ConfigurationPropertyCollection Properties
{
[Token(Token = "0x6001870")]
[Address(RVA = "0x29E5990", Offset = "0x29E4790", VA = "0x1829E5990", Slot = "4")]
get
{
return null;
}
}
/// Setting this property ignores validation errors that occur during HTTP parsing.
/// Boolean that indicates whether this property has been set.
// Token: 0x17000551 RID: 1361
// (get) Token: 0x06001871 RID: 6257 RVA: 0x0000A950 File Offset: 0x00008B50
// (set) Token: 0x06001872 RID: 6258 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x17000551")]
public bool UseUnsafeHeaderParsing
{
[Token(Token = "0x6001871")]
[Address(RVA = "0x29E59C0", Offset = "0x29E47C0", VA = "0x1829E59C0")]
get
{
return default(bool);
}
[Token(Token = "0x6001872")]
[Address(RVA = "0x29E5A80", Offset = "0x29E4880", VA = "0x1829E5A80")]
set
{
}
}
// Token: 0x06001873 RID: 6259 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001873")]
[Address(RVA = "0x29E58A0", Offset = "0x29E46A0", VA = "0x1829E58A0", Slot = "8")]
protected override void PostDeserialize()
{
}
}
}