Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

126 lines
4.7 KiB
C#

using System;
using System.Configuration;
using Cpp2IlInjected;
namespace System.Net.Configuration
{
/// <summary>Represents the maximum length for response headers. This class cannot be inherited.</summary>
// Token: 0x0200039A RID: 922
[Token(Token = "0x200039A")]
public sealed class HttpWebRequestElement : ConfigurationElement
{
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Configuration.HttpWebRequestElement" /> class.</summary>
// Token: 0x06001852 RID: 6226 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001852")]
[Address(RVA = "0xDD2FF0", Offset = "0xDD1FF0", VA = "0x180DD2FF0")]
public HttpWebRequestElement()
{
}
/// <summary>Gets or sets the maximum allowed length of an error response.</summary>
/// <returns>A 32-bit signed integer containing the maximum length in kilobytes (1024 bytes) of the error response. The default value is 64.</returns>
// Token: 0x17000549 RID: 1353
// (get) Token: 0x06001853 RID: 6227 RVA: 0x0000A8F0 File Offset: 0x00008AF0
// (set) Token: 0x06001854 RID: 6228 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x17000549")]
public int MaximumErrorResponseLength
{
[Token(Token = "0x6001853")]
[Address(RVA = "0xDD3020", Offset = "0xDD2020", VA = "0x180DD3020")]
get
{
return 0;
}
[Token(Token = "0x6001854")]
[Address(RVA = "0xDD3110", Offset = "0xDD2110", VA = "0x180DD3110")]
set
{
}
}
/// <summary>Gets or sets the maximum allowed length of the response headers.</summary>
/// <returns>A 32-bit signed integer containing the maximum length in kilobytes (1024 bytes) of the response headers. The default value is 64.</returns>
// Token: 0x1700054A RID: 1354
// (get) Token: 0x06001855 RID: 6229 RVA: 0x0000A908 File Offset: 0x00008B08
// (set) Token: 0x06001856 RID: 6230 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x1700054A")]
public int MaximumResponseHeadersLength
{
[Token(Token = "0x6001855")]
[Address(RVA = "0xDD3050", Offset = "0xDD2050", VA = "0x180DD3050")]
get
{
return 0;
}
[Token(Token = "0x6001856")]
[Address(RVA = "0xDD3140", Offset = "0xDD2140", VA = "0x180DD3140")]
set
{
}
}
/// <summary>Gets or sets the maximum length of an upload in response to an unauthorized error code.</summary>
/// <returns>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 <see cref="P:System.Net.Configuration.HttpWebRequestElement.MaximumUnauthorizedUploadLength" /> 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.</returns>
// Token: 0x1700054B RID: 1355
// (get) Token: 0x06001857 RID: 6231 RVA: 0x0000A920 File Offset: 0x00008B20
// (set) Token: 0x06001858 RID: 6232 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x1700054B")]
public int MaximumUnauthorizedUploadLength
{
[Token(Token = "0x6001857")]
[Address(RVA = "0xDD3080", Offset = "0xDD2080", VA = "0x180DD3080")]
get
{
return 0;
}
[Token(Token = "0x6001858")]
[Address(RVA = "0xDD3170", Offset = "0xDD2170", VA = "0x180DD3170")]
set
{
}
}
// Token: 0x1700054C RID: 1356
// (get) Token: 0x06001859 RID: 6233 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700054C")]
protected override ConfigurationPropertyCollection Properties
{
[Token(Token = "0x6001859")]
[Address(RVA = "0xDD30B0", Offset = "0xDD20B0", VA = "0x180DD30B0", Slot = "4")]
get
{
return null;
}
}
/// <summary>Setting this property ignores validation errors that occur during HTTP parsing.</summary>
/// <returns>Boolean that indicates whether this property has been set.</returns>
// Token: 0x1700054D RID: 1357
// (get) Token: 0x0600185A RID: 6234 RVA: 0x0000A938 File Offset: 0x00008B38
// (set) Token: 0x0600185B RID: 6235 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x1700054D")]
public bool UseUnsafeHeaderParsing
{
[Token(Token = "0x600185A")]
[Address(RVA = "0xDD30E0", Offset = "0xDD20E0", VA = "0x180DD30E0")]
get
{
return default(bool);
}
[Token(Token = "0x600185B")]
[Address(RVA = "0xDD31A0", Offset = "0xDD21A0", VA = "0x180DD31A0")]
set
{
}
}
// Token: 0x0600185C RID: 6236 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600185C")]
[Address(RVA = "0xDD2FC0", Offset = "0xDD1FC0", VA = "0x180DD2FC0", Slot = "8")]
protected override void PostDeserialize()
{
}
}
}