This commit is contained in:
niko
2026-04-12 16:51:38 +02:00
parent 1b6f6d81d0
commit c12fbe3fc6
17828 changed files with 2994770 additions and 0 deletions
+1929
View File
@@ -0,0 +1,1929 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Runtime.CompilerServices;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using BestHTTP.Authentication;
using BestHTTP.Cookies;
using BestHTTP.Extensions;
using BestHTTP.Forms;
using BestHTTP.Logger;
using Cpp2IlInjected;
using Hjg.Pngcs.Chunks;
using Org.BouncyCastle.Crypto.Tls;
namespace BestHTTP
{
// Token: 0x02001982 RID: 6530
[Token(Token = "0x2001982")]
public sealed class HTTPRequest : IEnumerator, IEnumerator<HTTPRequest>, IDisposable
{
// Token: 0x170017FC RID: 6140
// (get) Token: 0x06009777 RID: 38775 RVA: 0x001EE4DC File Offset: 0x001EC6DC
// (set) Token: 0x06009778 RID: 38776 RVA: 0x001EE4F0 File Offset: 0x001EC6F0
[Token(Token = "0x170017FC")]
public Uri Uri
{
[Token(Token = "0x6009777")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
get;
[Token(Token = "0x6009778")]
[Address(RVA = "0x415800", Offset = "0x414800", VA = "0x180415800")]
set;
}
// Token: 0x170017FD RID: 6141
// (get) Token: 0x06009779 RID: 38777 RVA: 0x001EE504 File Offset: 0x001EC704
// (set) Token: 0x0600977A RID: 38778 RVA: 0x001EE518 File Offset: 0x001EC718
[Token(Token = "0x170017FD")]
public HTTPMethods MethodType
{
[Token(Token = "0x6009779")]
[Address(RVA = "0x497570", Offset = "0x496570", VA = "0x180497570")]
get;
[Token(Token = "0x600977A")]
[Address(RVA = "0x611070", Offset = "0x610070", VA = "0x180611070")]
set;
}
// Token: 0x170017FE RID: 6142
// (get) Token: 0x0600977B RID: 38779 RVA: 0x001EE52C File Offset: 0x001EC72C
// (set) Token: 0x0600977C RID: 38780 RVA: 0x001EE540 File Offset: 0x001EC740
[Token(Token = "0x170017FE")]
public byte[] RawData
{
[Token(Token = "0x600977B")]
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0")]
get;
[Token(Token = "0x600977C")]
[Address(RVA = "0x415810", Offset = "0x414810", VA = "0x180415810")]
set;
}
// Token: 0x170017FF RID: 6143
// (get) Token: 0x0600977D RID: 38781 RVA: 0x001EE554 File Offset: 0x001EC754
// (set) Token: 0x0600977E RID: 38782 RVA: 0x001EE568 File Offset: 0x001EC768
[Token(Token = "0x170017FF")]
public Stream UploadStream
{
[Token(Token = "0x600977D")]
[Address(RVA = "0x4157D0", Offset = "0x4147D0", VA = "0x1804157D0")]
get;
[Token(Token = "0x600977E")]
[Address(RVA = "0x415820", Offset = "0x414820", VA = "0x180415820")]
set;
}
// Token: 0x17001800 RID: 6144
// (get) Token: 0x0600977F RID: 38783 RVA: 0x001EE57C File Offset: 0x001EC77C
// (set) Token: 0x06009780 RID: 38784 RVA: 0x001EE590 File Offset: 0x001EC790
[Token(Token = "0x17001800")]
public bool DisposeUploadStream
{
[Token(Token = "0x600977F")]
[Address(RVA = "0x5AB2E0", Offset = "0x5AA2E0", VA = "0x1805AB2E0")]
get;
[Token(Token = "0x6009780")]
[Address(RVA = "0x5AB400", Offset = "0x5AA400", VA = "0x1805AB400")]
set;
}
// Token: 0x17001801 RID: 6145
// (get) Token: 0x06009781 RID: 38785 RVA: 0x001EE5A4 File Offset: 0x001EC7A4
// (set) Token: 0x06009782 RID: 38786 RVA: 0x001EE5B8 File Offset: 0x001EC7B8
[Token(Token = "0x17001801")]
public bool UseUploadStreamLength
{
[Token(Token = "0x6009781")]
[Address(RVA = "0x8920D0", Offset = "0x8910D0", VA = "0x1808920D0")]
get;
[Token(Token = "0x6009782")]
[Address(RVA = "0xCA2F10", Offset = "0xCA1F10", VA = "0x180CA2F10")]
set;
}
// Token: 0x17001802 RID: 6146
// (get) Token: 0x06009783 RID: 38787 RVA: 0x001EE5CC File Offset: 0x001EC7CC
// (set) Token: 0x06009784 RID: 38788 RVA: 0x001EE5E0 File Offset: 0x001EC7E0
[Token(Token = "0x17001802")]
public bool IsKeepAlive
{
[Token(Token = "0x6009783")]
[Address(RVA = "0x2A7EEB0", Offset = "0x2A7DEB0", VA = "0x182A7EEB0")]
get
{
return this.isKeepAlive;
}
[Token(Token = "0x6009784")]
[Address(RVA = "0x2A7F2C0", Offset = "0x2A7E2C0", VA = "0x182A7F2C0")]
set
{
/*
An exception occurred when decompiling this method (06009784)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.HTTPRequest::set_IsKeepAlive(System.Boolean)
---> System.Exception: Basic block has to end with unconditional control flow.
{
IL_11:
stloc:NotSupportedException(var_0_1B, newobj:NotSupportedException(NotSupportedException::.ctor, ldstr:string("Changing the IsKeepAlive property while processing the request is not supported.")))
}
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
--- End of inner exception stack trace ---
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
*/;
}
}
// Token: 0x17001803 RID: 6147
// (get) Token: 0x06009785 RID: 38789 RVA: 0x001EE608 File Offset: 0x001EC808
// (set) Token: 0x06009786 RID: 38790 RVA: 0x001EE61C File Offset: 0x001EC81C
[Token(Token = "0x17001803")]
public bool DisableCache
{
[Token(Token = "0x6009785")]
[Address(RVA = "0x15F8E90", Offset = "0x15F7E90", VA = "0x1815F8E90")]
get
{
return this.disableCache;
}
[Token(Token = "0x6009786")]
[Address(RVA = "0x2A7F220", Offset = "0x2A7E220", VA = "0x182A7F220")]
set
{
/*
An exception occurred when decompiling this method (06009786)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.HTTPRequest::set_DisableCache(System.Boolean)
---> System.Exception: Basic block has to end with unconditional control flow.
{
IL_11:
stloc:NotSupportedException(var_0_1B, newobj:NotSupportedException(NotSupportedException::.ctor, ldstr:string("Changing the DisableCache property while processing the request is not supported.")))
}
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
--- End of inner exception stack trace ---
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
*/;
}
}
// Token: 0x17001804 RID: 6148
// (get) Token: 0x06009787 RID: 38791 RVA: 0x001EE644 File Offset: 0x001EC844
// (set) Token: 0x06009788 RID: 38792 RVA: 0x001EE658 File Offset: 0x001EC858
[Token(Token = "0x17001804")]
public bool CacheOnly
{
[Token(Token = "0x6009787")]
[Address(RVA = "0x2A7EE00", Offset = "0x2A7DE00", VA = "0x182A7EE00")]
get
{
return this.cacheOnly;
}
[Token(Token = "0x6009788")]
[Address(RVA = "0x2A7F1A0", Offset = "0x2A7E1A0", VA = "0x182A7F1A0")]
set
{
/*
An exception occurred when decompiling this method (06009788)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.HTTPRequest::set_CacheOnly(System.Boolean)
---> System.Exception: Basic block has to end with unconditional control flow.
{
IL_11:
stloc:NotSupportedException(var_0_1B, newobj:NotSupportedException(NotSupportedException::.ctor, ldstr:string("Changing the CacheOnly property while processing the request is not supported.")))
}
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
--- End of inner exception stack trace ---
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
*/;
}
}
// Token: 0x17001805 RID: 6149
// (get) Token: 0x06009789 RID: 38793 RVA: 0x001EE680 File Offset: 0x001EC880
// (set) Token: 0x0600978A RID: 38794 RVA: 0x001EE694 File Offset: 0x001EC894
[Token(Token = "0x17001805")]
public bool UseStreaming
{
[Token(Token = "0x6009789")]
[Address(RVA = "0x44BD60", Offset = "0x44AD60", VA = "0x18044BD60")]
get
{
return this.useStreaming;
}
[Token(Token = "0x600978A")]
[Address(RVA = "0x2A7F3F0", Offset = "0x2A7E3F0", VA = "0x182A7F3F0")]
set
{
/*
An exception occurred when decompiling this method (0600978A)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.HTTPRequest::set_UseStreaming(System.Boolean)
---> System.Exception: Basic block has to end with unconditional control flow.
{
IL_11:
stloc:NotSupportedException(var_0_1B, newobj:NotSupportedException(NotSupportedException::.ctor, ldstr:string("Changing the UseStreaming property while processing the request is not supported.")))
}
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
--- End of inner exception stack trace ---
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
*/;
}
}
// Token: 0x17001806 RID: 6150
// (get) Token: 0x0600978B RID: 38795 RVA: 0x001EE6BC File Offset: 0x001EC8BC
// (set) Token: 0x0600978C RID: 38796 RVA: 0x001EE6D0 File Offset: 0x001EC8D0
[Token(Token = "0x17001806")]
public int StreamFragmentSize
{
[Token(Token = "0x600978B")]
[Address(RVA = "0xFB4100", Offset = "0xFB3100", VA = "0x180FB4100")]
get
{
return this.streamFragmentSize;
}
[Token(Token = "0x600978C")]
[Address(RVA = "0x2A7F340", Offset = "0x2A7E340", VA = "0x182A7F340")]
set
{
/*
An exception occurred when decompiling this method (0600978C)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.HTTPRequest::set_StreamFragmentSize(System.Int32)
---> System.Exception: Basic block has to end with unconditional control flow.
{
IL_11:
stloc:NotSupportedException(var_0_1B, newobj:NotSupportedException(NotSupportedException::.ctor, ldstr:string("Changing the StreamFragmentSize property while processing the request is not supported.")))
}
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
--- End of inner exception stack trace ---
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
*/;
}
}
// Token: 0x17001807 RID: 6151
// (get) Token: 0x0600978D RID: 38797 RVA: 0x001EE6F8 File Offset: 0x001EC8F8
// (set) Token: 0x0600978E RID: 38798 RVA: 0x001EE70C File Offset: 0x001EC90C
[Token(Token = "0x17001807")]
public int MaxFragmentQueueLength
{
[Token(Token = "0x600978D")]
[Address(RVA = "0x678D20", Offset = "0x677D20", VA = "0x180678D20")]
get;
[Token(Token = "0x600978E")]
[Address(RVA = "0x678D30", Offset = "0x677D30", VA = "0x180678D30")]
set;
}
// Token: 0x17001808 RID: 6152
// (get) Token: 0x0600978F RID: 38799 RVA: 0x001EE720 File Offset: 0x001EC920
// (set) Token: 0x06009790 RID: 38800 RVA: 0x001EE734 File Offset: 0x001EC934
[Token(Token = "0x17001808")]
public OnRequestFinishedDelegate Callback
{
[Token(Token = "0x600978F")]
[Address(RVA = "0x4975A0", Offset = "0x4965A0", VA = "0x1804975A0")]
get;
[Token(Token = "0x6009790")]
[Address(RVA = "0x55BCF0", Offset = "0x55ACF0", VA = "0x18055BCF0")]
set;
}
// Token: 0x17001809 RID: 6153
// (get) Token: 0x06009791 RID: 38801 RVA: 0x001EE748 File Offset: 0x001EC948
// (set) Token: 0x06009792 RID: 38802 RVA: 0x001EE75C File Offset: 0x001EC95C
[Token(Token = "0x17001809")]
public bool DisableRetry
{
[Token(Token = "0x6009791")]
[Address(RVA = "0x88D380", Offset = "0x88C380", VA = "0x18088D380")]
get;
[Token(Token = "0x6009792")]
[Address(RVA = "0xABCF10", Offset = "0xABBF10", VA = "0x180ABCF10")]
set;
}
// Token: 0x1700180A RID: 6154
// (get) Token: 0x06009793 RID: 38803 RVA: 0x001EE770 File Offset: 0x001EC970
// (set) Token: 0x06009794 RID: 38804 RVA: 0x001EE784 File Offset: 0x001EC984
[Token(Token = "0x1700180A")]
public bool IsRedirected
{
[Token(Token = "0x6009793")]
[Address(RVA = "0xAD8820", Offset = "0xAD7820", VA = "0x180AD8820")]
get;
[Token(Token = "0x6009794")]
[Address(RVA = "0x88DF30", Offset = "0x88CF30", VA = "0x18088DF30")]
internal set;
}
// Token: 0x1700180B RID: 6155
// (get) Token: 0x06009795 RID: 38805 RVA: 0x001EE798 File Offset: 0x001EC998
// (set) Token: 0x06009796 RID: 38806 RVA: 0x001EE7AC File Offset: 0x001EC9AC
[Token(Token = "0x1700180B")]
public Uri RedirectUri
{
[Token(Token = "0x6009795")]
[Address(RVA = "0x4177D0", Offset = "0x4167D0", VA = "0x1804177D0")]
get;
[Token(Token = "0x6009796")]
[Address(RVA = "0x417AC0", Offset = "0x416AC0", VA = "0x180417AC0")]
internal set;
}
// Token: 0x1700180C RID: 6156
// (get) Token: 0x06009797 RID: 38807 RVA: 0x001EE7C0 File Offset: 0x001EC9C0
[Token(Token = "0x1700180C")]
public Uri CurrentUri
{
[Token(Token = "0x6009797")]
[Address(RVA = "0x2A7EE80", Offset = "0x2A7DE80", VA = "0x182A7EE80")]
get
{
if (this.<IsRedirected>k__BackingField)
{
return this.<RedirectUri>k__BackingField;
}
return this.<Uri>k__BackingField;
}
}
// Token: 0x1700180D RID: 6157
// (get) Token: 0x06009798 RID: 38808 RVA: 0x001EE7E4 File Offset: 0x001EC9E4
// (set) Token: 0x06009799 RID: 38809 RVA: 0x001EE7F8 File Offset: 0x001EC9F8
[Token(Token = "0x1700180D")]
public HTTPResponse Response
{
[Token(Token = "0x6009798")]
[Address(RVA = "0x493640", Offset = "0x492640", VA = "0x180493640")]
get;
[Token(Token = "0x6009799")]
[Address(RVA = "0x476170", Offset = "0x475170", VA = "0x180476170")]
internal set;
}
// Token: 0x1700180E RID: 6158
// (get) Token: 0x0600979A RID: 38810 RVA: 0x001EE80C File Offset: 0x001ECA0C
// (set) Token: 0x0600979B RID: 38811 RVA: 0x001EE820 File Offset: 0x001ECA20
[Token(Token = "0x1700180E")]
public HTTPResponse ProxyResponse
{
[Token(Token = "0x600979A")]
[Address(RVA = "0x4177C0", Offset = "0x4167C0", VA = "0x1804177C0")]
get;
[Token(Token = "0x600979B")]
[Address(RVA = "0x417AB0", Offset = "0x416AB0", VA = "0x180417AB0")]
internal set;
}
// Token: 0x1700180F RID: 6159
// (get) Token: 0x0600979C RID: 38812 RVA: 0x001EE834 File Offset: 0x001ECA34
// (set) Token: 0x0600979D RID: 38813 RVA: 0x001EE848 File Offset: 0x001ECA48
[Token(Token = "0x1700180F")]
public Exception Exception
{
[Token(Token = "0x600979C")]
[Address(RVA = "0x4177B0", Offset = "0x4167B0", VA = "0x1804177B0")]
get;
[Token(Token = "0x600979D")]
[Address(RVA = "0x417AA0", Offset = "0x416AA0", VA = "0x180417AA0")]
internal set;
}
// Token: 0x17001810 RID: 6160
// (get) Token: 0x0600979E RID: 38814 RVA: 0x001EE85C File Offset: 0x001ECA5C
// (set) Token: 0x0600979F RID: 38815 RVA: 0x001EE870 File Offset: 0x001ECA70
[Token(Token = "0x17001810")]
public object Tag
{
[Token(Token = "0x600979E")]
[Address(RVA = "0x4C31C0", Offset = "0x4C21C0", VA = "0x1804C31C0")]
get;
[Token(Token = "0x600979F")]
[Address(RVA = "0x497020", Offset = "0x496020", VA = "0x180497020")]
set;
}
// Token: 0x17001811 RID: 6161
// (get) Token: 0x060097A0 RID: 38816 RVA: 0x001EE884 File Offset: 0x001ECA84
// (set) Token: 0x060097A1 RID: 38817 RVA: 0x001EE898 File Offset: 0x001ECA98
[Token(Token = "0x17001811")]
public Credentials Credentials
{
[Token(Token = "0x60097A0")]
[Address(RVA = "0x54F060", Offset = "0x54E060", VA = "0x18054F060")]
get;
[Token(Token = "0x60097A1")]
[Address(RVA = "0x7B8A00", Offset = "0x7B7A00", VA = "0x1807B8A00")]
set;
}
// Token: 0x17001812 RID: 6162
// (get) Token: 0x060097A2 RID: 38818 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x17001812")]
public bool HasProxy
{
[Token(Token = "0x60097A2")]
[Address(RVA = "0x2A7EEA0", Offset = "0x2A7DEA0", VA = "0x182A7EEA0")]
get
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
}
// Token: 0x17001813 RID: 6163
// (get) Token: 0x060097A3 RID: 38819 RVA: 0x001EE8AC File Offset: 0x001ECAAC
// (set) Token: 0x060097A4 RID: 38820 RVA: 0x001EE8C0 File Offset: 0x001ECAC0
[Token(Token = "0x17001813")]
public Proxy Proxy
{
[Token(Token = "0x60097A3")]
[Address(RVA = "0x56D550", Offset = "0x56C550", VA = "0x18056D550")]
get;
[Token(Token = "0x60097A4")]
[Address(RVA = "0x56D560", Offset = "0x56C560", VA = "0x18056D560")]
set;
}
// Token: 0x17001814 RID: 6164
// (get) Token: 0x060097A5 RID: 38821 RVA: 0x001EE8D4 File Offset: 0x001ECAD4
// (set) Token: 0x060097A6 RID: 38822 RVA: 0x001EE8E8 File Offset: 0x001ECAE8
[Token(Token = "0x17001814")]
public int MaxRedirects
{
[Token(Token = "0x60097A5")]
[Address(RVA = "0x6A5AE0", Offset = "0x6A4AE0", VA = "0x1806A5AE0")]
get;
[Token(Token = "0x60097A6")]
[Address(RVA = "0x6A5E30", Offset = "0x6A4E30", VA = "0x1806A5E30")]
set;
}
// Token: 0x17001815 RID: 6165
// (get) Token: 0x060097A7 RID: 38823 RVA: 0x001EE8FC File Offset: 0x001ECAFC
// (set) Token: 0x060097A8 RID: 38824 RVA: 0x001EE910 File Offset: 0x001ECB10
[Token(Token = "0x17001815")]
public bool UseAlternateSSL
{
[Token(Token = "0x60097A7")]
[Address(RVA = "0x125C1A0", Offset = "0x125B1A0", VA = "0x18125C1A0")]
get;
[Token(Token = "0x60097A8")]
[Address(RVA = "0x213DBF0", Offset = "0x213CBF0", VA = "0x18213DBF0")]
set;
}
// Token: 0x17001816 RID: 6166
// (get) Token: 0x060097A9 RID: 38825 RVA: 0x001EE924 File Offset: 0x001ECB24
// (set) Token: 0x060097AA RID: 38826 RVA: 0x001EE938 File Offset: 0x001ECB38
[Token(Token = "0x17001816")]
public bool IsCookiesEnabled
{
[Token(Token = "0x60097A9")]
[Address(RVA = "0x125C1C0", Offset = "0x125B1C0", VA = "0x18125C1C0")]
get;
[Token(Token = "0x60097AA")]
[Address(RVA = "0x2A7F2B0", Offset = "0x2A7E2B0", VA = "0x182A7F2B0")]
set;
}
// Token: 0x17001817 RID: 6167
// (get) Token: 0x060097AB RID: 38827 RVA: 0x001EE94C File Offset: 0x001ECB4C
// (set) Token: 0x060097AC RID: 38828 RVA: 0x001EE974 File Offset: 0x001ECB74
[Token(Token = "0x17001817")]
public List<Cookie> Cookies
{
[Token(Token = "0x60097AB")]
[Address(RVA = "0x2A7EE10", Offset = "0x2A7DE10", VA = "0x182A7EE10")]
get
{
List<Cookie> list = this.customCookies;
if (list == 0)
{
List<Cookie> list2 = new List();
this.customCookies = list2;
}
return list;
}
[Token(Token = "0x60097AC")]
[Address(RVA = "0x82CD30", Offset = "0x82BD30", VA = "0x18082CD30")]
set
{
this.customCookies = value;
}
}
// Token: 0x17001818 RID: 6168
// (get) Token: 0x060097AD RID: 38829 RVA: 0x001EE988 File Offset: 0x001ECB88
// (set) Token: 0x060097AE RID: 38830 RVA: 0x001EE99C File Offset: 0x001ECB9C
[Token(Token = "0x17001818")]
public HTTPFormUsage FormUsage
{
[Token(Token = "0x60097AD")]
[Address(RVA = "0x8D2400", Offset = "0x8D1400", VA = "0x1808D2400")]
get;
[Token(Token = "0x60097AE")]
[Address(RVA = "0x8D2420", Offset = "0x8D1420", VA = "0x1808D2420")]
set;
}
// Token: 0x17001819 RID: 6169
// (get) Token: 0x060097AF RID: 38831 RVA: 0x001EE9B0 File Offset: 0x001ECBB0
// (set) Token: 0x060097B0 RID: 38832 RVA: 0x001EE9C4 File Offset: 0x001ECBC4
[Token(Token = "0x17001819")]
public HTTPRequestStates State
{
[Token(Token = "0x60097AF")]
[Address(RVA = "0xDDC9C0", Offset = "0xDDB9C0", VA = "0x180DDC9C0")]
get;
[Token(Token = "0x60097B0")]
[Address(RVA = "0xDDCBB0", Offset = "0xDDBBB0", VA = "0x180DDCBB0")]
internal set;
}
// Token: 0x1700181A RID: 6170
// (get) Token: 0x060097B1 RID: 38833 RVA: 0x001EE9D8 File Offset: 0x001ECBD8
// (set) Token: 0x060097B2 RID: 38834 RVA: 0x001EE9EC File Offset: 0x001ECBEC
[Token(Token = "0x1700181A")]
public int RedirectCount
{
[Token(Token = "0x60097B1")]
[Address(RVA = "0x8EE1A0", Offset = "0x8ED1A0", VA = "0x1808EE1A0")]
get;
[Token(Token = "0x60097B2")]
[Address(RVA = "0x1837440", Offset = "0x1836440", VA = "0x181837440")]
internal set;
}
// Token: 0x140000BB RID: 187
// (add) Token: 0x060097B3 RID: 38835 RVA: 0x001EEA00 File Offset: 0x001ECC00
// (remove) Token: 0x060097B4 RID: 38836 RVA: 0x001EEA1C File Offset: 0x001ECC1C
[Token(Token = "0x140000BB")]
public event Func<HTTPRequest, X509Certificate, X509Chain, bool> CustomCertificationValidator
{
[Token(Token = "0x60097B3")]
[Address(RVA = "0x2A7EBA0", Offset = "0x2A7DBA0", VA = "0x182A7EBA0")]
[CompilerGenerated]
add
{
Delegate @delegate;
while (@delegate != 0 && @delegate == 0)
{
}
while (@delegate != this)
{
}
}
[Token(Token = "0x60097B4")]
[Address(RVA = "0x2A7EF40", Offset = "0x2A7DF40", VA = "0x182A7EF40")]
[CompilerGenerated]
remove
{
Delegate @delegate;
while (@delegate != 0 && @delegate == 0)
{
}
while (@delegate != this)
{
}
}
}
// Token: 0x1700181B RID: 6171
// (get) Token: 0x060097B5 RID: 38837 RVA: 0x001EEA38 File Offset: 0x001ECC38
// (set) Token: 0x060097B6 RID: 38838 RVA: 0x001EEA4C File Offset: 0x001ECC4C
[Token(Token = "0x1700181B")]
public TimeSpan ConnectTimeout
{
[Token(Token = "0x60097B5")]
[Address(RVA = "0x42D480", Offset = "0x42C480", VA = "0x18042D480")]
get;
[Token(Token = "0x60097B6")]
[Address(RVA = "0x42DA70", Offset = "0x42CA70", VA = "0x18042DA70")]
set;
}
// Token: 0x1700181C RID: 6172
// (get) Token: 0x060097B7 RID: 38839 RVA: 0x001EEA60 File Offset: 0x001ECC60
// (set) Token: 0x060097B8 RID: 38840 RVA: 0x001EEA74 File Offset: 0x001ECC74
[Token(Token = "0x1700181C")]
public TimeSpan Timeout
{
[Token(Token = "0x60097B7")]
[Address(RVA = "0x42D840", Offset = "0x42C840", VA = "0x18042D840")]
get;
[Token(Token = "0x60097B8")]
[Address(RVA = "0x42DBA0", Offset = "0x42CBA0", VA = "0x18042DBA0")]
set;
}
// Token: 0x1700181D RID: 6173
// (get) Token: 0x060097B9 RID: 38841 RVA: 0x001EEA88 File Offset: 0x001ECC88
// (set) Token: 0x060097BA RID: 38842 RVA: 0x001EEA9C File Offset: 0x001ECC9C
[Token(Token = "0x1700181D")]
public bool EnableTimoutForStreaming
{
[Token(Token = "0x60097B9")]
[Address(RVA = "0xB8D050", Offset = "0xB8C050", VA = "0x180B8D050")]
get;
[Token(Token = "0x60097BA")]
[Address(RVA = "0xB8D170", Offset = "0xB8C170", VA = "0x180B8D170")]
set;
}
// Token: 0x1700181E RID: 6174
// (get) Token: 0x060097BB RID: 38843 RVA: 0x001EEAB0 File Offset: 0x001ECCB0
// (set) Token: 0x060097BC RID: 38844 RVA: 0x001EEAC4 File Offset: 0x001ECCC4
[Token(Token = "0x1700181E")]
public bool EnableSafeReadOnUnknownContentLength
{
[Token(Token = "0x60097BB")]
[Address(RVA = "0x2A7EE90", Offset = "0x2A7DE90", VA = "0x182A7EE90")]
get;
[Token(Token = "0x60097BC")]
[Address(RVA = "0x2A7F2A0", Offset = "0x2A7E2A0", VA = "0x182A7F2A0")]
set;
}
// Token: 0x1700181F RID: 6175
// (get) Token: 0x060097BD RID: 38845 RVA: 0x001EEAD8 File Offset: 0x001ECCD8
// (set) Token: 0x060097BE RID: 38846 RVA: 0x001EEAEC File Offset: 0x001ECCEC
[Token(Token = "0x1700181F")]
public int Priority
{
[Token(Token = "0x60097BD")]
[Address(RVA = "0x6A55B0", Offset = "0x6A45B0", VA = "0x1806A55B0")]
get;
[Token(Token = "0x60097BE")]
[Address(RVA = "0x82DC10", Offset = "0x82CC10", VA = "0x18082DC10")]
set;
}
// Token: 0x17001820 RID: 6176
// (get) Token: 0x060097BF RID: 38847 RVA: 0x001EEB00 File Offset: 0x001ECD00
// (set) Token: 0x060097C0 RID: 38848 RVA: 0x001EEB14 File Offset: 0x001ECD14
[Token(Token = "0x17001820")]
public ICertificateVerifyer CustomCertificateVerifyer
{
[Token(Token = "0x60097BF")]
[Address(RVA = "0x42C870", Offset = "0x42B870", VA = "0x18042C870")]
get;
[Token(Token = "0x60097C0")]
[Address(RVA = "0x82C6B0", Offset = "0x82B6B0", VA = "0x18082C6B0")]
set;
}
// Token: 0x17001821 RID: 6177
// (get) Token: 0x060097C1 RID: 38849 RVA: 0x001EEB28 File Offset: 0x001ECD28
// (set) Token: 0x060097C2 RID: 38850 RVA: 0x001EEB3C File Offset: 0x001ECD3C
[Token(Token = "0x17001821")]
public IClientCredentialsProvider CustomClientCredentialsProvider
{
[Token(Token = "0x60097C1")]
[Address(RVA = "0x42D460", Offset = "0x42C460", VA = "0x18042D460")]
get;
[Token(Token = "0x60097C2")]
[Address(RVA = "0x5BF390", Offset = "0x5BE390", VA = "0x1805BF390")]
set;
}
// Token: 0x17001822 RID: 6178
// (get) Token: 0x060097C3 RID: 38851 RVA: 0x001EEB50 File Offset: 0x001ECD50
// (set) Token: 0x060097C4 RID: 38852 RVA: 0x001EEB64 File Offset: 0x001ECD64
[Token(Token = "0x17001822")]
public List<string> CustomTLSServerNameList
{
[Token(Token = "0x60097C3")]
[Address(RVA = "0x42D470", Offset = "0x42C470", VA = "0x18042D470")]
get;
[Token(Token = "0x60097C4")]
[Address(RVA = "0x42DA60", Offset = "0x42CA60", VA = "0x18042DA60")]
set;
}
// Token: 0x17001823 RID: 6179
// (get) Token: 0x060097C5 RID: 38853 RVA: 0x001EEB78 File Offset: 0x001ECD78
// (set) Token: 0x060097C6 RID: 38854 RVA: 0x001EEB8C File Offset: 0x001ECD8C
[Token(Token = "0x17001823")]
public SupportedProtocols ProtocolHandler
{
[Token(Token = "0x60097C5")]
[Address(RVA = "0x1DA1240", Offset = "0x1DA0240", VA = "0x181DA1240")]
get;
[Token(Token = "0x60097C6")]
[Address(RVA = "0x1DA12C0", Offset = "0x1DA02C0", VA = "0x181DA12C0")]
set;
}
// Token: 0x140000BC RID: 188
// (add) Token: 0x060097C7 RID: 38855 RVA: 0x001EEBA0 File Offset: 0x001ECDA0
// (remove) Token: 0x060097C8 RID: 38856 RVA: 0x001EEBD4 File Offset: 0x001ECDD4
[Token(Token = "0x140000BC")]
public event OnBeforeRedirectionDelegate OnBeforeRedirection
{
[Token(Token = "0x60097C7")]
[Address(RVA = "0x2A7ECD0", Offset = "0x2A7DCD0", VA = "0x182A7ECD0")]
add
{
Delegate @delegate;
for (;;)
{
@delegate = Delegate.Combine(this.onBeforeRedirection, value);
if (@delegate == 0)
{
break;
}
if (@delegate != 0)
{
goto Block_1;
}
}
this.onBeforeRedirection = @delegate;
return;
Block_1:
this.onBeforeRedirection = @delegate;
}
[Token(Token = "0x60097C8")]
[Address(RVA = "0x2A7F070", Offset = "0x2A7E070", VA = "0x182A7F070")]
remove
{
Delegate @delegate;
for (;;)
{
@delegate = Delegate.Remove(this.onBeforeRedirection, value);
if (@delegate == 0)
{
break;
}
if (@delegate != 0)
{
goto Block_1;
}
}
this.onBeforeRedirection = @delegate;
return;
Block_1:
this.onBeforeRedirection = @delegate;
}
}
// Token: 0x140000BD RID: 189
// (add) Token: 0x060097C9 RID: 38857 RVA: 0x001EEC08 File Offset: 0x001ECE08
// (remove) Token: 0x060097CA RID: 38858 RVA: 0x001EEC3C File Offset: 0x001ECE3C
[Token(Token = "0x140000BD")]
public event OnBeforeHeaderSendDelegate OnBeforeHeaderSend
{
[Token(Token = "0x60097C9")]
[Address(RVA = "0x2A7EC40", Offset = "0x2A7DC40", VA = "0x182A7EC40")]
add
{
Delegate @delegate;
for (;;)
{
@delegate = Delegate.Combine(this._onBeforeHeaderSend, value);
if (@delegate == 0)
{
break;
}
if (@delegate != 0)
{
goto Block_1;
}
}
this._onBeforeHeaderSend = @delegate;
return;
Block_1:
this._onBeforeHeaderSend = @delegate;
}
[Token(Token = "0x60097CA")]
[Address(RVA = "0x2A7EFE0", Offset = "0x2A7DFE0", VA = "0x182A7EFE0")]
remove
{
Delegate @delegate;
for (;;)
{
@delegate = Delegate.Remove(this._onBeforeHeaderSend, value);
if (@delegate == 0)
{
break;
}
if (@delegate != 0)
{
goto Block_1;
}
}
this._onBeforeHeaderSend = @delegate;
return;
Block_1:
this._onBeforeHeaderSend = @delegate;
}
}
// Token: 0x140000BE RID: 190
// (add) Token: 0x060097CB RID: 38859 RVA: 0x001EEC70 File Offset: 0x001ECE70
// (remove) Token: 0x060097CC RID: 38860 RVA: 0x001EEC8C File Offset: 0x001ECE8C
[Token(Token = "0x140000BE")]
public event Action<HTTPRequest, Stream> OnSendingHeaders
{
[Token(Token = "0x60097CB")]
[Address(RVA = "0x2A7ED60", Offset = "0x2A7DD60", VA = "0x182A7ED60")]
[CompilerGenerated]
add
{
Delegate @delegate;
while (@delegate != 0 && @delegate == 0)
{
}
while (@delegate != this)
{
}
}
[Token(Token = "0x60097CC")]
[Address(RVA = "0x2A7F100", Offset = "0x2A7E100", VA = "0x182A7F100")]
[CompilerGenerated]
remove
{
Delegate @delegate;
while (@delegate != 0 && @delegate == 0)
{
}
while (@delegate != this)
{
}
}
}
// Token: 0x17001824 RID: 6180
// (get) Token: 0x060097CD RID: 38861 RVA: 0x001EECA8 File Offset: 0x001ECEA8
// (set) Token: 0x060097CE RID: 38862 RVA: 0x001EECBC File Offset: 0x001ECEBC
[Token(Token = "0x17001824")]
public bool TryToMinimizeTCPLatency
{
[Token(Token = "0x60097CD")]
[Address(RVA = "0x1188490", Offset = "0x1187490", VA = "0x181188490")]
get;
[Token(Token = "0x60097CE")]
[Address(RVA = "0x2A5EDC0", Offset = "0x2A5DDC0", VA = "0x182A5EDC0")]
set;
}
// Token: 0x17001825 RID: 6181
// (get) Token: 0x060097CF RID: 38863 RVA: 0x001EECD0 File Offset: 0x001ECED0
// (set) Token: 0x060097D0 RID: 38864 RVA: 0x001EECE4 File Offset: 0x001ECEE4
[Token(Token = "0x17001825")]
internal long Downloaded
{
[Token(Token = "0x60097CF")]
[Address(RVA = "0x5B7070", Offset = "0x5B6070", VA = "0x1805B7070")]
get;
[Token(Token = "0x60097D0")]
[Address(RVA = "0xD899A0", Offset = "0xD889A0", VA = "0x180D899A0")]
set;
}
// Token: 0x17001826 RID: 6182
// (get) Token: 0x060097D1 RID: 38865 RVA: 0x001EECF8 File Offset: 0x001ECEF8
// (set) Token: 0x060097D2 RID: 38866 RVA: 0x001EED0C File Offset: 0x001ECF0C
[Token(Token = "0x17001826")]
internal long DownloadLength
{
[Token(Token = "0x60097D1")]
[Address(RVA = "0x5BF220", Offset = "0x5BE220", VA = "0x1805BF220")]
get;
[Token(Token = "0x60097D2")]
[Address(RVA = "0x5BF360", Offset = "0x5BE360", VA = "0x1805BF360")]
set;
}
// Token: 0x17001827 RID: 6183
// (get) Token: 0x060097D3 RID: 38867 RVA: 0x001EED20 File Offset: 0x001ECF20
// (set) Token: 0x060097D4 RID: 38868 RVA: 0x001EED34 File Offset: 0x001ECF34
[Token(Token = "0x17001827")]
internal bool DownloadProgressChanged
{
[Token(Token = "0x60097D3")]
[Address(RVA = "0x4D9890", Offset = "0x4D8890", VA = "0x1804D9890")]
get;
[Token(Token = "0x60097D4")]
[Address(RVA = "0x1619CB0", Offset = "0x1618CB0", VA = "0x181619CB0")]
set;
}
// Token: 0x17001828 RID: 6184
// (get) Token: 0x060097D5 RID: 38869 RVA: 0x001EED48 File Offset: 0x001ECF48
[Token(Token = "0x17001828")]
internal long UploadStreamLength
{
[Token(Token = "0x60097D5")]
[Address(RVA = "0x2A7EEC0", Offset = "0x2A7DEC0", VA = "0x182A7EEC0")]
get
{
if (this.<UploadStream>k__BackingField != (ulong)0L && this.<UseUploadStreamLength>k__BackingField)
{
bool canWrite = this.<UploadStream>k__BackingField.CanWrite;
}
throw new NullReferenceException();
}
}
// Token: 0x17001829 RID: 6185
// (get) Token: 0x060097D6 RID: 38870 RVA: 0x001EED7C File Offset: 0x001ECF7C
// (set) Token: 0x060097D7 RID: 38871 RVA: 0x001EED90 File Offset: 0x001ECF90
[Token(Token = "0x17001829")]
internal long Uploaded
{
[Token(Token = "0x60097D6")]
[Address(RVA = "0x4D9850", Offset = "0x4D8850", VA = "0x1804D9850")]
get;
[Token(Token = "0x60097D7")]
[Address(RVA = "0x5B7110", Offset = "0x5B6110", VA = "0x1805B7110")]
set;
}
// Token: 0x1700182A RID: 6186
// (get) Token: 0x060097D8 RID: 38872 RVA: 0x001EEDA4 File Offset: 0x001ECFA4
// (set) Token: 0x060097D9 RID: 38873 RVA: 0x001EEDB8 File Offset: 0x001ECFB8
[Token(Token = "0x1700182A")]
internal long UploadLength
{
[Token(Token = "0x60097D8")]
[Address(RVA = "0xCBC4E0", Offset = "0xCBB4E0", VA = "0x180CBC4E0")]
get;
[Token(Token = "0x60097D9")]
[Address(RVA = "0x141F2E0", Offset = "0x141E2E0", VA = "0x18141F2E0")]
set;
}
// Token: 0x1700182B RID: 6187
// (get) Token: 0x060097DA RID: 38874 RVA: 0x001EEDCC File Offset: 0x001ECFCC
// (set) Token: 0x060097DB RID: 38875 RVA: 0x001EEDE0 File Offset: 0x001ECFE0
[Token(Token = "0x1700182B")]
internal bool UploadProgressChanged
{
[Token(Token = "0x60097DA")]
[Address(RVA = "0xFB4420", Offset = "0xFB3420", VA = "0x180FB4420")]
get;
[Token(Token = "0x60097DB")]
[Address(RVA = "0x1925640", Offset = "0x1924640", VA = "0x181925640")]
set;
}
// Token: 0x1700182C RID: 6188
// (get) Token: 0x060097DC RID: 38876 RVA: 0x001EEDF4 File Offset: 0x001ECFF4
// (set) Token: 0x060097DD RID: 38877 RVA: 0x001EEE08 File Offset: 0x001ED008
[Token(Token = "0x1700182C")]
private Dictionary<string, List<string>> Headers
{
[Token(Token = "0x60097DC")]
[Address(RVA = "0xFB4610", Offset = "0xFB3610", VA = "0x180FB4610")]
get;
[Token(Token = "0x60097DD")]
[Address(RVA = "0x141F390", Offset = "0x141E390", VA = "0x18141F390")]
set;
}
// Token: 0x060097DE RID: 38878 RVA: 0x001EEE1C File Offset: 0x001ED01C
[Token(Token = "0x60097DE")]
[Address(RVA = "0x2A7E4E0", Offset = "0x2A7D4E0", VA = "0x182A7E4E0")]
public HTTPRequest(Uri uri)
{
bool <KeepAliveDefaultValue>k__BackingField = HTTPManager.<KeepAliveDefaultValue>k__BackingField;
bool <IsCachingDisabled>k__BackingField = HTTPManager.<IsCachingDisabled>k__BackingField;
}
// Token: 0x060097DF RID: 38879 RVA: 0x001EEE3C File Offset: 0x001ED03C
[Token(Token = "0x60097DF")]
[Address(RVA = "0x2A7E010", Offset = "0x2A7D010", VA = "0x182A7E010")]
public HTTPRequest(Uri uri, OnRequestFinishedDelegate callback)
{
bool <KeepAliveDefaultValue>k__BackingField = HTTPManager.<KeepAliveDefaultValue>k__BackingField;
bool <IsCachingDisabled>k__BackingField = HTTPManager.<IsCachingDisabled>k__BackingField;
}
// Token: 0x060097E0 RID: 38880 RVA: 0x001EEE58 File Offset: 0x001ED058
[Token(Token = "0x60097E0")]
[Address(RVA = "0x2A7E3F0", Offset = "0x2A7D3F0", VA = "0x182A7E3F0")]
public HTTPRequest(Uri uri, bool isKeepAlive, OnRequestFinishedDelegate callback)
{
bool <IsCachingDisabled>k__BackingField = HTTPManager.<IsCachingDisabled>k__BackingField;
}
// Token: 0x060097E1 RID: 38881 RVA: 0x001EEE70 File Offset: 0x001ED070
[Token(Token = "0x60097E1")]
[Address(RVA = "0x2A7DFE0", Offset = "0x2A7CFE0", VA = "0x182A7DFE0")]
public HTTPRequest(Uri uri, bool isKeepAlive, bool disableCache, OnRequestFinishedDelegate callback)
{
}
// Token: 0x060097E2 RID: 38882 RVA: 0x001EEE80 File Offset: 0x001ED080
[Token(Token = "0x60097E2")]
[Address(RVA = "0x2A7E140", Offset = "0x2A7D140", VA = "0x182A7E140")]
public HTTPRequest(Uri uri, HTTPMethods methodType)
{
bool <KeepAliveDefaultValue>k__BackingField = HTTPManager.<KeepAliveDefaultValue>k__BackingField;
}
// Token: 0x060097E3 RID: 38883 RVA: 0x001EEE9C File Offset: 0x001ED09C
[Token(Token = "0x60097E3")]
[Address(RVA = "0x2A7E290", Offset = "0x2A7D290", VA = "0x182A7E290")]
public HTTPRequest(Uri uri, HTTPMethods methodType, OnRequestFinishedDelegate callback)
{
bool <KeepAliveDefaultValue>k__BackingField = HTTPManager.<KeepAliveDefaultValue>k__BackingField;
}
// Token: 0x060097E4 RID: 38884 RVA: 0x001EEEB8 File Offset: 0x001ED0B8
[Token(Token = "0x60097E4")]
[Address(RVA = "0x2A7DED0", Offset = "0x2A7CED0", VA = "0x182A7DED0")]
public HTTPRequest(Uri uri, HTTPMethods methodType, bool isKeepAlive, OnRequestFinishedDelegate callback)
{
}
// Token: 0x060097E5 RID: 38885 RVA: 0x001EEECC File Offset: 0x001ED0CC
[Token(Token = "0x60097E5")]
[Address(RVA = "0x2A7E600", Offset = "0x2A7D600", VA = "0x182A7E600")]
public HTTPRequest(Uri uri, HTTPMethods methodType, bool isKeepAlive, bool disableCache, OnRequestFinishedDelegate callback)
{
/*
An exception occurred when decompiling this method (060097E5)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.HTTPRequest::.ctor(System.Uri,BestHTTP.HTTPMethods,System.Boolean,System.Boolean,BestHTTP.OnRequestFinishedDelegate)
---> System.Exception: Basic block has to end with unconditional control flow.
{
IL_165:
stloc:NotSupportedException(var_15_16F, newobj:NotSupportedException(NotSupportedException::.ctor, ldstr:string("Changing the StreamFragmentSize property while processing the request is not supported.")))
}
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
--- End of inner exception stack trace ---
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
*/;
}
// Token: 0x060097E6 RID: 38886 RVA: 0x001EF04C File Offset: 0x001ED24C
[Token(Token = "0x60097E6")]
[Address(RVA = "0x2A7AEB0", Offset = "0x2A79EB0", VA = "0x182A7AEB0")]
public void AddField(string fieldName, string value)
{
Encoding utf = Encoding.UTF8;
HTTPFormBase fieldCollector = this.FieldCollector;
if (fieldCollector == 0)
{
HTTPFormBase httpformBase = new HTTPFormBase();
this.FieldCollector = httpformBase;
}
fieldCollector.AddField(fieldName, value, utf);
}
// Token: 0x060097E7 RID: 38887 RVA: 0x001EF088 File Offset: 0x001ED288
[Token(Token = "0x60097E7")]
[Address(RVA = "0x2A7AF70", Offset = "0x2A79F70", VA = "0x182A7AF70")]
public void AddField(string fieldName, string value, Encoding e)
{
HTTPFormBase fieldCollector = this.FieldCollector;
if (fieldCollector == 0)
{
int num = 0;
HTTPFormBase httpformBase;
httpformBase.FieldGetter(num, value, e);
this.FieldCollector = httpformBase;
}
fieldCollector.AddField(fieldName, value, e);
}
// Token: 0x060097E8 RID: 38888 RVA: 0x001EF0C4 File Offset: 0x001ED2C4
[Token(Token = "0x60097E8")]
[Address(RVA = "0x2A7ADC0", Offset = "0x2A79DC0", VA = "0x182A7ADC0")]
public void AddBinaryData(string fieldName, byte[] content)
{
int num = 0;
int num2 = 0;
this.AddBinaryData(fieldName, content, num2, num);
}
// Token: 0x060097E9 RID: 38889 RVA: 0x001EF0E0 File Offset: 0x001ED2E0
[Token(Token = "0x60097E9")]
[Address(RVA = "0x2A7ADE0", Offset = "0x2A79DE0", VA = "0x182A7ADE0")]
public void AddBinaryData(string fieldName, byte[] content, string fileName)
{
int num = 0;
this.AddBinaryData(fieldName, content, fileName, num);
}
// Token: 0x060097EA RID: 38890 RVA: 0x001EF0FC File Offset: 0x001ED2FC
[Token(Token = "0x60097EA")]
[Address(RVA = "0x2A7AE00", Offset = "0x2A79E00", VA = "0x182A7AE00")]
public void AddBinaryData(string fieldName, byte[] content, string fileName, string mimeType)
{
if (this.FieldCollector == 0)
{
HTTPFormBase httpformBase = new HTTPFormBase();
this.FieldCollector = httpformBase;
}
}
// Token: 0x060097EB RID: 38891 RVA: 0x001EF128 File Offset: 0x001ED328
[Token(Token = "0x60097EB")]
[Address(RVA = "0x1423730", Offset = "0x1422730", VA = "0x181423730")]
public void SetForm(HTTPFormBase form)
{
this.FormImpl = form;
}
// Token: 0x060097EC RID: 38892 RVA: 0x001EF13C File Offset: 0x001ED33C
[Token(Token = "0x60097EC")]
[Address(RVA = "0x2A7C4F0", Offset = "0x2A7B4F0", VA = "0x182A7C4F0")]
public List<HTTPFieldData> GetFormFields()
{
HTTPFormBase fieldCollector = this.FieldCollector;
if (fieldCollector != 0 && fieldCollector.<Fields>k__BackingField != 0)
{
return new List(this.FieldCollector.<Fields>k__BackingField);
}
throw new NullReferenceException();
}
// Token: 0x060097ED RID: 38893 RVA: 0x001EF178 File Offset: 0x001ED378
[Token(Token = "0x60097ED")]
[Address(RVA = "0x2A7B2D0", Offset = "0x2A7A2D0", VA = "0x182A7B2D0")]
public void ClearForm()
{
int num = 0;
this.FormImpl = num;
this.FieldCollector = num;
}
// Token: 0x060097EE RID: 38894 RVA: 0x001EF198 File Offset: 0x001ED398
[Token(Token = "0x60097EE")]
[Address(RVA = "0x2A7C790", Offset = "0x2A7B790", VA = "0x182A7C790")]
private HTTPFormBase SelectFormImplementation()
{
HTTPFormBase formImpl = this.FormImpl;
if (formImpl == 0)
{
HTTPFormBase fieldCollector = this.FieldCollector;
if (fieldCollector == 0)
{
throw new NullReferenceException();
}
HTTPFormUsage httpformUsage = this.<FormUsage>k__BackingField;
if (httpformUsage != HTTPFormUsage.Automatic)
{
if (httpformUsage == HTTPFormUsage.Automatic || httpformUsage == HTTPFormUsage.Automatic)
{
goto IL_41;
}
RawJsonForm rawJsonForm = new RawJsonForm();
}
if (fieldCollector.<HasBinary>k__BackingField || !fieldCollector.<HasLongValue>k__BackingField)
{
}
IL_41:
HTTPMultiPartForm httpmultiPartForm = new HTTPMultiPartForm();
httpmultiPartForm.Finalize();
string text2;
string text = "BestHTTP_HTTPMultiPartForm_" + text2;
httpmultiPartForm.Boundary = text;
this.FormImpl = httpmultiPartForm;
string text3 = httpmultiPartForm.ToString();
}
return formImpl;
}
// Token: 0x060097EF RID: 38895 RVA: 0x001EF228 File Offset: 0x001ED428
[Token(Token = "0x60097EF")]
[Address(RVA = "0x2A7B020", Offset = "0x2A7A020", VA = "0x182A7B020")]
public void AddHeader(string name, string value)
{
if (this.<Headers>k__BackingField == 0)
{
Dictionary<string, List<string>> dictionary = new Dictionary();
this.<Headers>k__BackingField = dictionary;
}
bool flag;
List<string> list;
if (!flag)
{
Dictionary<string, List<string>> dictionary2 = this.<Headers>k__BackingField;
list = new List(1);
throw new NullReferenceException();
}
list.Add(value);
}
// Token: 0x060097F0 RID: 38896 RVA: 0x001EF274 File Offset: 0x001ED474
[Token(Token = "0x60097F0")]
[Address(RVA = "0x2A7D490", Offset = "0x2A7C490", VA = "0x182A7D490")]
public void SetHeader(string name, string value)
{
if (this.<Headers>k__BackingField == 0)
{
Dictionary<string, List<string>> dictionary = new Dictionary();
this.<Headers>k__BackingField = dictionary;
}
bool flag;
List<string> list;
if (!flag)
{
Dictionary<string, List<string>> dictionary2 = this.<Headers>k__BackingField;
list = new List(1);
throw new NullReferenceException();
}
list.Clear();
list.Add(value);
}
// Token: 0x060097F1 RID: 38897 RVA: 0x001EF2C8 File Offset: 0x001ED4C8
[Token(Token = "0x60097F1")]
[Address(RVA = "0x2A7C690", Offset = "0x2A7B690", VA = "0x182A7C690")]
public bool RemoveHeader(string name)
{
Dictionary<string, List<string>> dictionary = this.<Headers>k__BackingField;
if (dictionary != 0)
{
return dictionary.Remove(name);
}
}
// Token: 0x060097F2 RID: 38898 RVA: 0x001EF2EC File Offset: 0x001ED4EC
[Token(Token = "0x60097F2")]
[Address(RVA = "0x2A7C620", Offset = "0x2A7B620", VA = "0x182A7C620")]
public bool HasHeader(string name)
{
Dictionary<string, List<string>> dictionary = this.<Headers>k__BackingField;
if (dictionary == 0)
{
}
return dictionary.ContainsKey(name);
}
// Token: 0x060097F3 RID: 38899 RVA: 0x001EF310 File Offset: 0x001ED510
[Token(Token = "0x60097F3")]
[Address(RVA = "0x2A7C450", Offset = "0x2A7B450", VA = "0x182A7C450")]
public string GetFirstHeaderValue(string name)
{
bool flag;
if (this.<Headers>k__BackingField != 0 && flag && flag > false && !flag)
{
ThrowHelper.ThrowArgumentOutOfRangeException();
}
throw new NullReferenceException();
}
// Token: 0x060097F4 RID: 38900 RVA: 0x001EF340 File Offset: 0x001ED540
[Token(Token = "0x60097F4")]
[Address(RVA = "0x2A7C5A0", Offset = "0x2A7B5A0", VA = "0x182A7C5A0")]
public List<string> GetHeaderValues(string name)
{
bool flag;
if (this.<Headers>k__BackingField == 0 || flag)
{
}
throw new NullReferenceException();
}
// Token: 0x060097F5 RID: 38901 RVA: 0x001EF364 File Offset: 0x001ED564
[Token(Token = "0x60097F5")]
[Address(RVA = "0x2A7C6F0", Offset = "0x2A7B6F0", VA = "0x182A7C6F0")]
public void RemoveHeaders()
{
Dictionary<string, List<string>> dictionary = this.<Headers>k__BackingField;
if (dictionary != 0)
{
dictionary.Clear();
return;
}
}
// Token: 0x060097F6 RID: 38902 RVA: 0x001EF384 File Offset: 0x001ED584
[Token(Token = "0x60097F6")]
[Address(RVA = "0x2A7D660", Offset = "0x2A7C660", VA = "0x182A7D660")]
public void SetRangeHeader(int firstBytePos)
{
string text = string.Format("bytes={0}-", firstBytePos);
this.SetHeader("Range", text);
}
// Token: 0x060097F7 RID: 38903 RVA: 0x001EF3AC File Offset: 0x001ED5AC
[Token(Token = "0x60097F7")]
[Address(RVA = "0x2A7D5C0", Offset = "0x2A7C5C0", VA = "0x182A7D5C0")]
public void SetRangeHeader(int firstBytePos, int lastBytePos)
{
string text = string.Format("bytes={0}-{1}", firstBytePos, lastBytePos);
this.SetHeader("Range", text);
}
// Token: 0x060097F8 RID: 38904 RVA: 0x001EF3D4 File Offset: 0x001ED5D4
[Token(Token = "0x60097F8")]
[Address(RVA = "0x2A7C380", Offset = "0x2A7B380", VA = "0x182A7C380")]
public void EnumerateHeaders(OnHeaderEnumerationDelegate callback)
{
int num = 0;
this.EnumerateHeaders(callback, num != 0);
}
// Token: 0x060097F9 RID: 38905 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x60097F9")]
[Address(RVA = "0x2A7B600", Offset = "0x2A7A600", VA = "0x182A7B600")]
public void EnumerateHeaders(OnHeaderEnumerationDelegate callback, bool callBeforeSendCallback)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060097FA RID: 38906 RVA: 0x001EF3EC File Offset: 0x001ED5EC
[Token(Token = "0x60097FA")]
[Address(RVA = "0x2A7C8F0", Offset = "0x2A7B8F0", VA = "0x182A7C8F0")]
private void SendHeaders(Stream stream)
{
OnHeaderEnumerationDelegate onHeaderEnumerationDelegate = delegate(string header, List<string> values)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
};
this.EnumerateHeaders(onHeaderEnumerationDelegate, true);
Action<HTTPRequest, Stream> onSendingHeaders = this.OnSendingHeaders;
if (onSendingHeaders != 0)
{
Stream stream2 = stream;
onSendingHeaders(this, stream2);
}
ILogger logger = HTTPManager.Logger;
}
// Token: 0x060097FB RID: 38907 RVA: 0x001EF44C File Offset: 0x001ED64C
[Token(Token = "0x60097FB")]
[Address(RVA = "0x2A7B390", Offset = "0x2A7A390", VA = "0x182A7B390")]
public string DumpHeaders()
{
int num;
do
{
num = 0;
BufferPoolMemoryStream bufferPoolMemoryStream = new BufferPoolMemoryStream();
bufferPoolMemoryStream.canWrite = true;
byte[] array;
bufferPoolMemoryStream.internalBuffer = array;
int length = array.Length;
bufferPoolMemoryStream.capacity = length;
bufferPoolMemoryStream.expandable = true;
bufferPoolMemoryStream.allowGetBuffer = true;
this.SendHeaders(bufferPoolMemoryStream);
byte[] array2 = bufferPoolMemoryStream.ToArray();
int length2;
StringBuilder stringBuilder = new StringBuilder(length2);
length2 = array2.Length;
int length3 = array2.Length;
if (num < length3)
{
byte b;
StringBuilder stringBuilder2 = stringBuilder.Append((char)b);
num++;
}
int hashCode = stringBuilder.GetHashCode();
if (bufferPoolMemoryStream != 0)
{
}
}
while (num != 0);
throw new NullReferenceException();
}
// Token: 0x060097FC RID: 38908 RVA: 0x001EF500 File Offset: 0x001ED700
[Token(Token = "0x60097FC")]
[Address(RVA = "0x2A7C3B0", Offset = "0x2A7B3B0", VA = "0x182A7C3B0")]
public byte[] GetEntityBody()
{
byte[] array = this.<RawData>k__BackingField;
if (array == 0)
{
if (this.FormImpl == array)
{
HTTPFormBase fieldCollector = this.FieldCollector;
if (fieldCollector == 0 || fieldCollector.<Fields>k__BackingField == 0)
{
goto IL_38;
}
}
HTTPFormBase httpformBase = this.SelectFormImplementation();
if (this.FormImpl == 0)
{
}
IL_38:;
}
return array;
}
// Token: 0x060097FD RID: 38909 RVA: 0x001EF548 File Offset: 0x001ED748
[Token(Token = "0x60097FD")]
[Address(RVA = "0x2A7CA40", Offset = "0x2A7BA40", VA = "0x182A7CA40")]
internal void SendOutTo(Stream stream)
{
int num;
do
{
num = 0;
if (this.<Proxy>k__BackingField == 0 || (this.<IsRedirected>k__BackingField ? 1 : 0) != num)
{
}
if (this.<IsRedirected>k__BackingField)
{
}
string parts = this.<Uri>k__BackingField.GetParts(UriComponents.PathAndQuery, UriFormat.UriEscaped);
string[] methodNames = HTTPRequest.MethodNames;
HTTPMethods httpmethods = this.<MethodType>k__BackingField;
string text = methodNames[(int)httpmethods];
string text2 = string.Format("{0} {1} HTTP/1.1", text, "/");
if (HTTPManager.Logger <= (ulong)1L)
{
ILogger logger = HTTPManager.Logger;
string text3 = string.Format("Sending request: '{0}'", text2);
}
WriteOnlyBufferedStream writeOnlyBufferedStream;
int num2 = writeOnlyBufferedStream.ReadByte();
byte[] eol = HTTPRequest.EOL;
int num3 = writeOnlyBufferedStream.ReadByte();
byte[] array;
VariableSizedBufferPool.Release(array);
this.SendHeaders(writeOnlyBufferedStream);
byte[] eol2 = HTTPRequest.EOL;
int num4 = writeOnlyBufferedStream.ReadByte();
if (this.<RawData>k__BackingField == 0)
{
if (this.FormImpl != 0)
{
}
if (this.<UploadStream>k__BackingField == (ulong)0L)
{
}
}
if (this.<UploadStream>k__BackingField != 0)
{
long uploadStreamLength;
if (this.<UseUploadStreamLength>k__BackingField)
{
uploadStreamLength = this.UploadStreamLength;
}
this.<UploadLength>k__BackingField = uploadStreamLength;
}
MemoryStream memoryStream;
this.<UploadLength>k__BackingField = memoryStream;
this.<Uploaded>k__BackingField = (long)num;
ulong num5;
byte[] array2 = VariableSizedBufferPool.Get((long)HTTPRequest.UploadChunkSize, num5 != 0UL);
if (!this.<UseUploadStreamLength>k__BackingField)
{
string text4;
byte[] asciibytes = text4.GetASCIIBytes();
ChunkHelper.WriteBytesToStream(writeOnlyBufferedStream, asciibytes);
byte[] eol3 = HTTPRequest.EOL;
ChunkHelper.WriteBytesToStream(writeOnlyBufferedStream, eol3);
VariableSizedBufferPool.Release(asciibytes);
}
int num6 = writeOnlyBufferedStream.ReadByte();
if (!this.<UseUploadStreamLength>k__BackingField)
{
}
this.<UploadProgressChanged>k__BackingField = true;
VariableSizedBufferPool.Release(array2);
if (!this.<UseUploadStreamLength>k__BackingField)
{
int num7 = writeOnlyBufferedStream.ReadByte();
byte[] eol4 = HTTPRequest.EOL;
int num8 = writeOnlyBufferedStream.ReadByte();
byte[] eol5 = HTTPRequest.EOL;
int num9 = writeOnlyBufferedStream.ReadByte();
byte[] array3;
VariableSizedBufferPool.Release(array3);
}
if (this.<UploadStream>k__BackingField != (ulong)0L)
{
}
memoryStream.Dispose();
if (writeOnlyBufferedStream != 0)
{
}
if (num != 0)
{
goto IL_238;
}
if (num != -1)
{
}
ILogger logger2 = HTTPManager.Logger;
Stream stream2 = this.<UploadStream>k__BackingField;
if (stream2 != 0 && this.<DisposeUploadStream>k__BackingField)
{
stream2.Dispose();
}
}
while (num != 0);
return;
IL_238:
throw new NullReferenceException();
}
// Token: 0x060097FE RID: 38910 RVA: 0x001EF7A4 File Offset: 0x001ED9A4
[Token(Token = "0x60097FE")]
[Address(RVA = "0x2A7D6E0", Offset = "0x2A7C6E0", VA = "0x182A7D6E0")]
internal void UpgradeCallback()
{
HTTPResponse httpresponse = this.<Response>k__BackingField;
if (httpresponse != 0 && httpresponse.<IsUpgraded>k__BackingField)
{
OnRequestFinishedDelegate onUpgraded = this.OnUpgraded;
if (onUpgraded != 0)
{
HTTPResponse httpresponse2 = this.<Response>k__BackingField;
onUpgraded(this, httpresponse2);
}
ILogger logger = HTTPManager.Logger;
}
}
// Token: 0x060097FF RID: 38911 RVA: 0x001EF7F0 File Offset: 0x001ED9F0
[Token(Token = "0x60097FF")]
[Address(RVA = "0x2A7B140", Offset = "0x2A7A140", VA = "0x182A7B140")]
internal void CallCallback()
{
OnRequestFinishedDelegate onRequestFinishedDelegate = this.<Callback>k__BackingField;
if (onRequestFinishedDelegate != 0)
{
HTTPResponse httpresponse = this.<Response>k__BackingField;
onRequestFinishedDelegate(this, httpresponse);
}
ILogger logger = HTTPManager.Logger;
}
// Token: 0x06009800 RID: 38912 RVA: 0x001EF828 File Offset: 0x001EDA28
[Token(Token = "0x6009800")]
[Address(RVA = "0x2A7B290", Offset = "0x2A7A290", VA = "0x182A7B290")]
internal bool CallOnBeforeRedirection(Uri redirectUri)
{
OnBeforeRedirectionDelegate onBeforeRedirectionDelegate = this.onBeforeRedirection;
if (onBeforeRedirectionDelegate == 0)
{
return true;
}
HTTPResponse httpresponse = this.<Response>k__BackingField;
return onBeforeRedirectionDelegate(this, httpresponse, redirectUri);
}
// Token: 0x06009801 RID: 38913 RVA: 0x001EF854 File Offset: 0x001EDA54
[Token(Token = "0x6009801")]
[Address(RVA = "0x2A7C390", Offset = "0x2A7B390", VA = "0x182A7C390")]
internal void FinishStreaming()
{
HTTPResponse httpresponse = this.<Response>k__BackingField;
if (httpresponse != 0 && this.useStreaming)
{
httpresponse.FinishStreaming();
return;
}
}
// Token: 0x06009802 RID: 38914 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x6009802")]
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0")]
internal void Prepare()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06009803 RID: 38915 RVA: 0x001EF87C File Offset: 0x001EDA7C
[Token(Token = "0x6009803")]
[Address(RVA = "0x2A7B210", Offset = "0x2A7A210", VA = "0x182A7B210")]
internal bool CallCustomCertificationValidator(X509Certificate cert, X509Chain chain)
{
Func<HTTPRequest, X509Certificate, X509Chain, bool> customCertificationValidator = this.CustomCertificationValidator;
return customCertificationValidator == 0 || customCertificationValidator(this, cert, chain) != null;
}
// Token: 0x06009804 RID: 38916 RVA: 0x001EF8A0 File Offset: 0x001EDAA0
[Token(Token = "0x6009804")]
[Address(RVA = "0x2A7D430", Offset = "0x2A7C430", VA = "0x182A7D430")]
public HTTPRequest Send()
{
return HTTPManager.SendRequest(this);
}
// Token: 0x06009805 RID: 38917 RVA: 0x001EF8B4 File Offset: 0x001EDAB4
[Token(Token = "0x6009805")]
[Address(RVA = "0x2A7A9F0", Offset = "0x2A799F0", VA = "0x182A7A9F0")]
public void Abort()
{
/*
An exception occurred when decompiling this method (06009805)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.HTTPRequest::Abort()
---> System.Exception: Basic block has to end with unconditional control flow.
{
IL_C0:
stloc:Exception(var_12_CA, newobj:Exception(Exception::.ctor, ldstr:string("Wasn't able to acquire a thread lock. Abort failed!")))
}
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
--- End of inner exception stack trace ---
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
*/;
}
// Token: 0x06009806 RID: 38918 RVA: 0x001EF98C File Offset: 0x001EDB8C
[Token(Token = "0x6009806")]
[Address(RVA = "0x2A7B2F0", Offset = "0x2A7A2F0", VA = "0x182A7B2F0")]
public void Clear()
{
int num = 0;
this.FormImpl = num;
this.FieldCollector = num;
Dictionary<string, List<string>> dictionary = this.<Headers>k__BackingField;
if (dictionary != 0)
{
dictionary.Clear();
}
this.<IsRedirected>k__BackingField = num != 0;
this.<RedirectCount>k__BackingField = num;
this.<DownloadLength>k__BackingField = (long)num;
this.<Downloaded>k__BackingField = (long)num;
}
// Token: 0x06009807 RID: 38919 RVA: 0x001EF9D8 File Offset: 0x001EDBD8
[Token(Token = "0x6009807")]
[Address(RVA = "0x2A7D7C0", Offset = "0x2A7C7C0", VA = "0x182A7D7C0")]
private void VerboseLogging(string str)
{
ILogger logger = HTTPManager.Logger;
if (this.<IsRedirected>k__BackingField)
{
}
int hashCode = this.<Uri>k__BackingField.GetHashCode();
}
// Token: 0x1700182D RID: 6189
// (get) Token: 0x06009808 RID: 38920 RVA: 0x001EFA08 File Offset: 0x001EDC08
[Token(Token = "0x1700182D")]
public object Current
{
[Token(Token = "0x6009808")]
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "5")]
get
{
}
}
// Token: 0x06009809 RID: 38921 RVA: 0x001EFA18 File Offset: 0x001EDC18
[Token(Token = "0x6009809")]
[Address(RVA = "0x2A7C680", Offset = "0x2A7B680", VA = "0x182A7C680", Slot = "4")]
public bool MoveNext()
{
return this.<State>k__BackingField < HTTPRequestStates.Finished;
}
// Token: 0x0600980A RID: 38922 RVA: 0x001EFA30 File Offset: 0x001EDC30
[Token(Token = "0x600980A")]
[Address(RVA = "0x2A7C740", Offset = "0x2A7B740", VA = "0x182A7C740", Slot = "6")]
public void Reset()
{
/*
An exception occurred when decompiling this method (0600980A)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.HTTPRequest::Reset()
---> System.Exception: Basic block has to end with unconditional control flow.
{
Block_0:
stloc:NotImplementedException(var_0_05, newobj:NotImplementedException(NotImplementedException::.ctor))
}
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
--- End of inner exception stack trace ---
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
*/;
}
// Token: 0x1700182E RID: 6190
// (get) Token: 0x0600980B RID: 38923 RVA: 0x001EFA44 File Offset: 0x001EDC44
[Token(Token = "0x1700182E")]
HTTPRequest IEnumerator<HTTPRequest>.Current
{
[Token(Token = "0x600980B")]
[Address(RVA = "0x4A65C0", Offset = "0x4A55C0", VA = "0x1804A65C0", Slot = "7")]
get
{
return this;
}
}
// Token: 0x0600980C RID: 38924 RVA: 0x001EFA54 File Offset: 0x001EDC54
[Token(Token = "0x600980C")]
[Address(RVA = "0x2A7B370", Offset = "0x2A7A370", VA = "0x182A7B370", Slot = "8")]
public void Dispose()
{
HTTPResponse httpresponse = this.<Response>k__BackingField;
if (httpresponse != 0)
{
httpresponse.Dispose();
return;
}
}
// Token: 0x0600980D RID: 38925 RVA: 0x001EFA74 File Offset: 0x001EDC74
// Note: this type is marked as 'beforefieldinit'.
[Token(Token = "0x600980D")]
[Address(RVA = "0x2A7D8A0", Offset = "0x2A7C8A0", VA = "0x182A7D8A0")]
static HTTPRequest()
{
byte[] array = new byte[2];
array[0] = (byte)((ulong)13L);
array[0] = (byte)((ulong)10L);
HTTPRequest.EOL = array;
string[] array2 = new string[8];
int num = array2.GetHashCode();
string text;
if (text != 0)
{
}
array2[0] = text;
HTTPMethods httpmethods;
num = httpmethods.GetHashCode();
string text2;
if (text2 != 0)
{
}
array2[1] = text2;
num = text2.GetHashCode();
string text3;
if (text3 != 0)
{
}
array2[2] = text3;
num = text3.GetHashCode();
string text4;
if (text4 != 0)
{
}
array2[3] = text4;
num = text4.GetHashCode();
string text5;
if (text5 != 0)
{
}
array2[4] = text5;
num = text5.GetHashCode();
string text6;
if (text6 != 0)
{
}
array2[5] = text6;
num = text6.GetHashCode();
string text7;
if (text7 != 0)
{
}
array2[6] = text7;
num = text7.GetHashCode();
string text8;
if (text8 != 0)
{
}
array2[7] = text8;
HTTPRequest.MethodNames = array2;
}
// Token: 0x0400668A RID: 26250
[Token(Token = "0x400668A")]
public static readonly byte[] EOL;
// Token: 0x0400668B RID: 26251
[Token(Token = "0x400668B")]
public static readonly string[] MethodNames;
// Token: 0x0400668C RID: 26252
[Token(Token = "0x400668C")]
public static int UploadChunkSize;
// Token: 0x04006693 RID: 26259
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x4006693")]
public OnUploadProgressDelegate OnUploadProgress;
// Token: 0x04006696 RID: 26262
[FieldOffset(Offset = "0x50")]
[Token(Token = "0x4006696")]
public OnDownloadProgressDelegate OnProgress;
// Token: 0x04006697 RID: 26263
[FieldOffset(Offset = "0x58")]
[Token(Token = "0x4006697")]
public OnRequestFinishedDelegate OnUpgraded;
// Token: 0x040066A4 RID: 26276
[FieldOffset(Offset = "0xA8")]
[Token(Token = "0x40066A4")]
private List<Cookie> customCookies;
// Token: 0x040066B2 RID: 26290
[FieldOffset(Offset = "0x100")]
[Token(Token = "0x40066B2")]
private OnBeforeRedirectionDelegate onBeforeRedirection;
// Token: 0x040066B3 RID: 26291
[FieldOffset(Offset = "0x108")]
[Token(Token = "0x40066B3")]
private OnBeforeHeaderSendDelegate _onBeforeHeaderSend;
// Token: 0x040066BC RID: 26300
[FieldOffset(Offset = "0x149")]
[Token(Token = "0x40066BC")]
private bool isKeepAlive;
// Token: 0x040066BD RID: 26301
[FieldOffset(Offset = "0x14A")]
[Token(Token = "0x40066BD")]
private bool disableCache;
// Token: 0x040066BE RID: 26302
[FieldOffset(Offset = "0x14B")]
[Token(Token = "0x40066BE")]
private bool cacheOnly;
// Token: 0x040066BF RID: 26303
[FieldOffset(Offset = "0x14C")]
[Token(Token = "0x40066BF")]
private int streamFragmentSize;
// Token: 0x040066C0 RID: 26304
[FieldOffset(Offset = "0x150")]
[Token(Token = "0x40066C0")]
private bool useStreaming;
// Token: 0x040066C2 RID: 26306
[FieldOffset(Offset = "0x160")]
[Token(Token = "0x40066C2")]
private HTTPFormBase FieldCollector;
// Token: 0x040066C3 RID: 26307
[FieldOffset(Offset = "0x168")]
[Token(Token = "0x40066C3")]
private HTTPFormBase FormImpl;
}
}