@tsonic/dotnet 10.0.2 → 10.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +0 -3
- package/Microsoft.VisualBasic/internal/index.d.ts +1 -11
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +0 -22
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +4 -9
- package/Microsoft.Win32/internal/index.d.ts +0 -1
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +53 -127
- package/System/internal/index.d.ts +87 -200
- package/System.Buffers/internal/index.d.ts +10 -23
- package/System.CodeDom.Compiler/internal/index.d.ts +6 -10
- package/System.Collections/internal/index.d.ts +41 -57
- package/System.Collections.Concurrent/internal/index.d.ts +4 -10
- package/System.Collections.Generic/internal/index.d.ts +15 -37
- package/System.Collections.Immutable/internal/index.d.ts +7 -20
- package/System.Collections.ObjectModel/internal/index.d.ts +25 -48
- package/System.Collections.Specialized/internal/index.d.ts +15 -30
- package/System.ComponentModel/internal/index.d.ts +126 -216
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +80 -161
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +4 -3
- package/System.ComponentModel.Design/internal/index.d.ts +26 -53
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +18 -29
- package/System.Data/internal/index.d.ts +110 -188
- package/System.Data.Common/internal/index.d.ts +155 -238
- package/System.Data.SqlTypes/internal/index.d.ts +6 -7
- package/System.Diagnostics/internal/index.d.ts +105 -169
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +24 -21
- package/System.Diagnostics.Contracts/internal/index.d.ts +2 -2
- package/System.Diagnostics.Metrics/internal/index.d.ts +31 -66
- package/System.Diagnostics.Tracing/internal/index.d.ts +26 -35
- package/System.Dynamic/internal/index.d.ts +15 -29
- package/System.Formats.Asn1/internal/index.d.ts +0 -1
- package/System.Formats.Tar/internal/index.d.ts +1 -1
- package/System.Globalization/internal/index.d.ts +17 -51
- package/System.IO/internal/index.d.ts +47 -123
- package/System.IO.Compression/internal/index.d.ts +11 -33
- package/System.IO.Enumeration/internal/index.d.ts +11 -16
- package/System.IO.IsolatedStorage/internal/index.d.ts +6 -17
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +6 -21
- package/System.IO.Pipelines/internal/index.d.ts +7 -18
- package/System.IO.Pipes/internal/index.d.ts +24 -50
- package/System.Linq/internal/index.d.ts +0 -4
- package/System.Linq.Expressions/internal/index.d.ts +108 -257
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +0 -1
- package/System.Net/internal/index.d.ts +133 -184
- package/System.Net.Http/internal/index.d.ts +128 -201
- package/System.Net.Http.Headers/internal/index.d.ts +37 -40
- package/System.Net.Http.Json/internal/index.d.ts +8 -13
- package/System.Net.Http.Metrics/internal/index.d.ts +2 -3
- package/System.Net.Mail/internal/index.d.ts +49 -105
- package/System.Net.Mime/internal/index.d.ts +4 -3
- package/System.Net.NetworkInformation/internal/index.d.ts +29 -60
- package/System.Net.Quic/internal/index.d.ts +5 -11
- package/System.Net.Security/internal/index.d.ts +30 -42
- package/System.Net.ServerSentEvents/internal/index.d.ts +1 -2
- package/System.Net.Sockets/internal/index.d.ts +33 -56
- package/System.Net.WebSockets/internal/index.d.ts +16 -23
- package/System.Numerics/internal/index.d.ts +5 -5
- package/System.Reflection/internal/index.d.ts +66 -102
- package/System.Reflection.Emit/internal/index.d.ts +104 -177
- package/System.Reflection.Metadata/internal/index.d.ts +11 -21
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +0 -1
- package/System.Reflection.PortableExecutable/internal/index.d.ts +12 -30
- package/System.Resources/internal/index.d.ts +8 -20
- package/System.Runtime/internal/index.d.ts +5 -8
- package/System.Runtime.CompilerServices/internal/index.d.ts +15 -21
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -8
- package/System.Runtime.ExceptionServices/internal/index.d.ts +0 -1
- package/System.Runtime.InteropServices/internal/index.d.ts +29 -62
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +1 -22
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +14 -23
- package/System.Runtime.Intrinsics/internal/index.d.ts +4 -4
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +1 -2
- package/System.Runtime.Loader/internal/index.d.ts +5 -11
- package/System.Runtime.Serialization/internal/index.d.ts +62 -65
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +8 -10
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +3 -2
- package/System.Runtime.Serialization.Json/internal/index.d.ts +6 -4
- package/System.Runtime.Versioning/internal/index.d.ts +6 -6
- package/System.Security/internal/index.d.ts +22 -25
- package/System.Security.AccessControl/internal/index.d.ts +51 -89
- package/System.Security.Authentication/internal/index.d.ts +0 -2
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +3 -10
- package/System.Security.Claims/internal/index.d.ts +19 -38
- package/System.Security.Cryptography/internal/index.d.ts +492 -903
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +19 -48
- package/System.Security.Permissions/internal/index.d.ts +2 -4
- package/System.Security.Policy/internal/index.d.ts +3 -4
- package/System.Security.Principal/internal/index.d.ts +11 -17
- package/System.Text/internal/index.d.ts +11 -23
- package/System.Text.Encodings.Web/internal/index.d.ts +4 -8
- package/System.Text.Json/internal/index.d.ts +10 -12
- package/System.Text.Json.Nodes/internal/index.d.ts +4 -3
- package/System.Text.Json.Schema/internal/index.d.ts +1 -1
- package/System.Text.Json.Serialization/internal/index.d.ts +19 -27
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +36 -34
- package/System.Text.RegularExpressions/internal/index.d.ts +11 -31
- package/System.Threading/internal/index.d.ts +36 -106
- package/System.Threading.Channels/internal/index.d.ts +7 -12
- package/System.Threading.Tasks/internal/index.d.ts +18 -29
- package/System.Timers/internal/index.d.ts +4 -8
- package/System.Transactions/internal/index.d.ts +3 -14
- package/System.Xml/internal/index.d.ts +104 -167
- package/System.Xml.Linq/internal/index.d.ts +17 -13
- package/System.Xml.Schema/internal/index.d.ts +117 -112
- package/System.Xml.Serialization/internal/index.d.ts +92 -100
- package/System.Xml.XPath/internal/index.d.ts +5 -9
- package/System.Xml.Xsl/internal/index.d.ts +4 -9
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +11 -29
- package/package.json +1 -1
|
@@ -369,7 +369,8 @@ export interface ICredentialsByHost$instance {
|
|
|
369
369
|
export type ICredentialsByHost = ICredentialsByHost$instance;
|
|
370
370
|
|
|
371
371
|
export interface IWebProxy$instance {
|
|
372
|
-
Credentials: ICredentials;
|
|
372
|
+
get Credentials(): ICredentials | undefined;
|
|
373
|
+
set Credentials(value: ICredentials | undefined);
|
|
373
374
|
GetProxy(destination: Uri): Uri | undefined;
|
|
374
375
|
IsBypassed(host: Uri): boolean;
|
|
375
376
|
}
|
|
@@ -441,9 +442,8 @@ export interface AuthenticationManager$instance {
|
|
|
441
442
|
|
|
442
443
|
|
|
443
444
|
export const AuthenticationManager: {
|
|
444
|
-
new(): AuthenticationManager;
|
|
445
445
|
get CredentialPolicy(): ICredentialPolicy | undefined;
|
|
446
|
-
set CredentialPolicy(value: ICredentialPolicy);
|
|
446
|
+
set CredentialPolicy(value: ICredentialPolicy | undefined);
|
|
447
447
|
readonly CustomTargetNameDictionary: StringDictionary;
|
|
448
448
|
readonly RegisteredModules: IEnumerator;
|
|
449
449
|
Authenticate(challenge: string, request: WebRequest, credentials: ICredentials): Authorization | undefined;
|
|
@@ -459,10 +459,10 @@ export type AuthenticationManager = AuthenticationManager$instance;
|
|
|
459
459
|
export interface Authorization$instance {
|
|
460
460
|
Complete: boolean;
|
|
461
461
|
readonly ConnectionGroupId: string | undefined;
|
|
462
|
-
readonly Message: string;
|
|
462
|
+
readonly Message: string | undefined;
|
|
463
463
|
MutuallyAuthenticated: boolean;
|
|
464
464
|
get ProtectionRealm(): string[] | undefined;
|
|
465
|
-
set ProtectionRealm(value: string[]);
|
|
465
|
+
set ProtectionRealm(value: string[] | undefined);
|
|
466
466
|
}
|
|
467
467
|
|
|
468
468
|
|
|
@@ -478,7 +478,7 @@ export type Authorization = Authorization$instance;
|
|
|
478
478
|
export interface Cookie$instance {
|
|
479
479
|
Comment: string;
|
|
480
480
|
get CommentUri(): Uri | undefined;
|
|
481
|
-
set CommentUri(value: Uri);
|
|
481
|
+
set CommentUri(value: Uri | undefined);
|
|
482
482
|
Discard: boolean;
|
|
483
483
|
Domain: string;
|
|
484
484
|
Expired: boolean;
|
|
@@ -519,7 +519,7 @@ export interface CookieCollection$instance {
|
|
|
519
519
|
CopyTo(array: ClrArray, index: int): void;
|
|
520
520
|
CopyTo(array: Cookie[], index: int): void;
|
|
521
521
|
get_Item(index: int): Cookie;
|
|
522
|
-
get_Item(name: string): Cookie;
|
|
522
|
+
get_Item(name: string): Cookie | undefined;
|
|
523
523
|
GetEnumerator(): IEnumerator;
|
|
524
524
|
Remove(cookie: Cookie): boolean;
|
|
525
525
|
}
|
|
@@ -578,7 +578,6 @@ export const CookieException: {
|
|
|
578
578
|
new(): CookieException;
|
|
579
579
|
new(message: string): CookieException;
|
|
580
580
|
new(message: string, innerException: Exception): CookieException;
|
|
581
|
-
new(serializationInfo: SerializationInfo, streamingContext: StreamingContext): CookieException;
|
|
582
581
|
};
|
|
583
582
|
|
|
584
583
|
|
|
@@ -642,7 +641,6 @@ export interface DownloadDataCompletedEventArgs$instance extends AsyncCompletedE
|
|
|
642
641
|
|
|
643
642
|
|
|
644
643
|
export const DownloadDataCompletedEventArgs: {
|
|
645
|
-
new(): DownloadDataCompletedEventArgs;
|
|
646
644
|
};
|
|
647
645
|
|
|
648
646
|
|
|
@@ -655,7 +653,6 @@ export interface DownloadProgressChangedEventArgs$instance extends ProgressChang
|
|
|
655
653
|
|
|
656
654
|
|
|
657
655
|
export const DownloadProgressChangedEventArgs: {
|
|
658
|
-
new(): DownloadProgressChangedEventArgs;
|
|
659
656
|
};
|
|
660
657
|
|
|
661
658
|
|
|
@@ -667,7 +664,6 @@ export interface DownloadStringCompletedEventArgs$instance extends AsyncComplete
|
|
|
667
664
|
|
|
668
665
|
|
|
669
666
|
export const DownloadStringCompletedEventArgs: {
|
|
670
|
-
new(): DownloadStringCompletedEventArgs;
|
|
671
667
|
};
|
|
672
668
|
|
|
673
669
|
|
|
@@ -680,29 +676,25 @@ export interface EndPoint$instance {
|
|
|
680
676
|
}
|
|
681
677
|
|
|
682
678
|
|
|
683
|
-
export const EndPoint: {
|
|
684
|
-
new(): EndPoint;
|
|
679
|
+
export const EndPoint: (abstract new() => EndPoint) & {
|
|
685
680
|
};
|
|
686
681
|
|
|
687
682
|
|
|
688
683
|
export type EndPoint = EndPoint$instance;
|
|
689
684
|
|
|
690
|
-
export
|
|
691
|
-
protected GetObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
|
|
692
|
-
}
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
export interface FileWebRequest$instance extends FileWebRequest$protected, WebRequest$instance {
|
|
685
|
+
export interface FileWebRequest$instance extends WebRequest$instance {
|
|
696
686
|
get ConnectionGroupName(): string | undefined;
|
|
697
|
-
set ConnectionGroupName(value: string);
|
|
687
|
+
set ConnectionGroupName(value: string | undefined);
|
|
698
688
|
ContentLength: long;
|
|
699
|
-
ContentType: string;
|
|
700
|
-
|
|
689
|
+
get ContentType(): string | undefined;
|
|
690
|
+
set ContentType(value: string | undefined);
|
|
691
|
+
get Credentials(): ICredentials | undefined;
|
|
692
|
+
set Credentials(value: ICredentials | undefined);
|
|
701
693
|
readonly Headers: WebHeaderCollection;
|
|
702
694
|
Method: string;
|
|
703
695
|
PreAuthenticate: boolean;
|
|
704
696
|
get Proxy(): IWebProxy | undefined;
|
|
705
|
-
set Proxy(value: IWebProxy);
|
|
697
|
+
set Proxy(value: IWebProxy | undefined);
|
|
706
698
|
readonly RequestUri: Uri;
|
|
707
699
|
Timeout: int;
|
|
708
700
|
UseDefaultCredentials: boolean;
|
|
@@ -711,6 +703,7 @@ export interface FileWebRequest$instance extends FileWebRequest$protected, WebRe
|
|
|
711
703
|
BeginGetResponse(callback: AsyncCallback, state: unknown): IAsyncResult;
|
|
712
704
|
EndGetRequestStream(asyncResult: IAsyncResult): Stream;
|
|
713
705
|
EndGetResponse(asyncResult: IAsyncResult): WebResponse;
|
|
706
|
+
GetObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
|
|
714
707
|
GetRequestStream(): Stream;
|
|
715
708
|
GetRequestStreamAsync(): Task_1<Stream>;
|
|
716
709
|
GetRequestStreamAsync(): Task_1<Stream>;
|
|
@@ -720,8 +713,7 @@ export interface FileWebRequest$instance extends FileWebRequest$protected, WebRe
|
|
|
720
713
|
}
|
|
721
714
|
|
|
722
715
|
|
|
723
|
-
export const FileWebRequest: {
|
|
724
|
-
new(serializationInfo: SerializationInfo, streamingContext: StreamingContext): FileWebRequest;
|
|
716
|
+
export const FileWebRequest: (abstract new(serializationInfo: SerializationInfo, streamingContext: StreamingContext) => FileWebRequest) & {
|
|
725
717
|
};
|
|
726
718
|
|
|
727
719
|
|
|
@@ -732,13 +724,7 @@ export interface __FileWebRequest$views {
|
|
|
732
724
|
export type FileWebRequest = FileWebRequest$instance & __FileWebRequest$views;
|
|
733
725
|
|
|
734
726
|
|
|
735
|
-
export
|
|
736
|
-
protected Dispose2(disposing: boolean): void;
|
|
737
|
-
protected GetObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
|
|
738
|
-
}
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
export interface FileWebResponse$instance extends FileWebResponse$protected, WebResponse$instance {
|
|
727
|
+
export interface FileWebResponse$instance extends WebResponse$instance {
|
|
742
728
|
readonly ContentLength: long;
|
|
743
729
|
readonly ContentType: string;
|
|
744
730
|
readonly Headers: WebHeaderCollection;
|
|
@@ -746,12 +732,13 @@ export interface FileWebResponse$instance extends FileWebResponse$protected, Web
|
|
|
746
732
|
readonly SupportsHeaders: boolean;
|
|
747
733
|
Close(): void;
|
|
748
734
|
Dispose(): void;
|
|
735
|
+
Dispose(disposing: boolean): void;
|
|
736
|
+
GetObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
|
|
749
737
|
GetResponseStream(): Stream;
|
|
750
738
|
}
|
|
751
739
|
|
|
752
740
|
|
|
753
|
-
export const FileWebResponse: {
|
|
754
|
-
new(serializationInfo: SerializationInfo, streamingContext: StreamingContext): FileWebResponse;
|
|
741
|
+
export const FileWebResponse: (abstract new(serializationInfo: SerializationInfo, streamingContext: StreamingContext) => FileWebResponse) & {
|
|
755
742
|
};
|
|
756
743
|
|
|
757
744
|
|
|
@@ -763,30 +750,28 @@ export interface __FileWebResponse$views {
|
|
|
763
750
|
export type FileWebResponse = FileWebResponse$instance & __FileWebResponse$views;
|
|
764
751
|
|
|
765
752
|
|
|
766
|
-
export
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
export interface FtpWebRequest$instance extends FtpWebRequest$protected, WebRequest$instance {
|
|
772
|
-
CachePolicy: RequestCachePolicy;
|
|
753
|
+
export interface FtpWebRequest$instance extends WebRequest$instance {
|
|
754
|
+
get CachePolicy(): RequestCachePolicy | undefined;
|
|
755
|
+
set CachePolicy(value: RequestCachePolicy | undefined);
|
|
773
756
|
ClientCertificates: X509CertificateCollection;
|
|
774
757
|
get ConnectionGroupName(): string | undefined;
|
|
775
|
-
set ConnectionGroupName(value: string);
|
|
758
|
+
set ConnectionGroupName(value: string | undefined);
|
|
776
759
|
ContentLength: long;
|
|
777
760
|
ContentOffset: long;
|
|
778
|
-
ContentType: string;
|
|
779
|
-
|
|
761
|
+
get ContentType(): string | undefined;
|
|
762
|
+
set ContentType(value: string | undefined);
|
|
763
|
+
get Credentials(): ICredentials | undefined;
|
|
764
|
+
set Credentials(value: ICredentials | undefined);
|
|
780
765
|
EnableSsl: boolean;
|
|
781
766
|
Headers: WebHeaderCollection;
|
|
782
767
|
KeepAlive: boolean;
|
|
783
768
|
Method: string;
|
|
784
769
|
PreAuthenticate: boolean;
|
|
785
770
|
get Proxy(): IWebProxy | undefined;
|
|
786
|
-
set Proxy(value: IWebProxy);
|
|
771
|
+
set Proxy(value: IWebProxy | undefined);
|
|
787
772
|
ReadWriteTimeout: int;
|
|
788
773
|
get RenameTo(): string | undefined;
|
|
789
|
-
set RenameTo(value: string);
|
|
774
|
+
set RenameTo(value: string | undefined);
|
|
790
775
|
readonly RequestUri: Uri;
|
|
791
776
|
readonly ServicePoint: ServicePoint;
|
|
792
777
|
Timeout: int;
|
|
@@ -798,15 +783,15 @@ export interface FtpWebRequest$instance extends FtpWebRequest$protected, WebRequ
|
|
|
798
783
|
BeginGetResponse(callback: AsyncCallback, state: unknown): IAsyncResult;
|
|
799
784
|
EndGetRequestStream(asyncResult: IAsyncResult): Stream;
|
|
800
785
|
EndGetResponse(asyncResult: IAsyncResult): WebResponse;
|
|
786
|
+
GetObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
|
|
801
787
|
GetRequestStream(): Stream;
|
|
802
788
|
GetResponse(): WebResponse;
|
|
803
789
|
}
|
|
804
790
|
|
|
805
791
|
|
|
806
792
|
export const FtpWebRequest: {
|
|
807
|
-
new(): FtpWebRequest;
|
|
808
793
|
get DefaultCachePolicy(): RequestCachePolicy | undefined;
|
|
809
|
-
set DefaultCachePolicy(value: RequestCachePolicy);
|
|
794
|
+
set DefaultCachePolicy(value: RequestCachePolicy | undefined);
|
|
810
795
|
};
|
|
811
796
|
|
|
812
797
|
|
|
@@ -817,13 +802,7 @@ export interface __FtpWebRequest$views {
|
|
|
817
802
|
export type FtpWebRequest = FtpWebRequest$instance & __FtpWebRequest$views;
|
|
818
803
|
|
|
819
804
|
|
|
820
|
-
export
|
|
821
|
-
protected Dispose2(disposing: boolean): void;
|
|
822
|
-
protected GetObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
|
|
823
|
-
}
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
export interface FtpWebResponse$instance extends FtpWebResponse$protected, WebResponse$instance {
|
|
805
|
+
export interface FtpWebResponse$instance extends WebResponse$instance {
|
|
827
806
|
readonly BannerMessage: string | undefined;
|
|
828
807
|
readonly ContentLength: long;
|
|
829
808
|
readonly ExitMessage: string | undefined;
|
|
@@ -831,17 +810,18 @@ export interface FtpWebResponse$instance extends FtpWebResponse$protected, WebRe
|
|
|
831
810
|
readonly LastModified: DateTime;
|
|
832
811
|
readonly ResponseUri: Uri;
|
|
833
812
|
readonly StatusCode: FtpStatusCode;
|
|
834
|
-
readonly StatusDescription: string;
|
|
813
|
+
readonly StatusDescription: string | undefined;
|
|
835
814
|
readonly SupportsHeaders: boolean;
|
|
836
815
|
readonly WelcomeMessage: string | undefined;
|
|
837
816
|
Close(): void;
|
|
838
817
|
Dispose(): void;
|
|
818
|
+
Dispose(disposing: boolean): void;
|
|
819
|
+
GetObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
|
|
839
820
|
GetResponseStream(): Stream;
|
|
840
821
|
}
|
|
841
822
|
|
|
842
823
|
|
|
843
824
|
export const FtpWebResponse: {
|
|
844
|
-
new(): FtpWebResponse;
|
|
845
825
|
};
|
|
846
826
|
|
|
847
827
|
|
|
@@ -869,16 +849,16 @@ export type GlobalProxySelection = GlobalProxySelection$instance;
|
|
|
869
849
|
export interface HttpListener$instance {
|
|
870
850
|
AuthenticationSchemes: AuthenticationSchemes;
|
|
871
851
|
get AuthenticationSchemeSelectorDelegate(): AuthenticationSchemeSelector | undefined;
|
|
872
|
-
set AuthenticationSchemeSelectorDelegate(value: AuthenticationSchemeSelector);
|
|
852
|
+
set AuthenticationSchemeSelectorDelegate(value: AuthenticationSchemeSelector | undefined);
|
|
873
853
|
readonly DefaultServiceNames: ServiceNameCollection;
|
|
874
854
|
ExtendedProtectionPolicy: ExtendedProtectionPolicy;
|
|
875
855
|
get ExtendedProtectionSelectorDelegate(): HttpListener_ExtendedProtectionSelector | undefined;
|
|
876
|
-
set ExtendedProtectionSelectorDelegate(value: HttpListener_ExtendedProtectionSelector);
|
|
856
|
+
set ExtendedProtectionSelectorDelegate(value: HttpListener_ExtendedProtectionSelector | undefined);
|
|
877
857
|
IgnoreWriteExceptions: boolean;
|
|
878
858
|
readonly IsListening: boolean;
|
|
879
859
|
readonly Prefixes: HttpListenerPrefixCollection;
|
|
880
860
|
get Realm(): string | undefined;
|
|
881
|
-
set Realm(value: string);
|
|
861
|
+
set Realm(value: string | undefined);
|
|
882
862
|
readonly TimeoutManager: HttpListenerTimeoutManager;
|
|
883
863
|
UnsafeConnectionNtlmAuthentication: boolean;
|
|
884
864
|
Abort(): void;
|
|
@@ -927,7 +907,7 @@ export type HttpListenerBasicIdentity = HttpListenerBasicIdentity$instance & __H
|
|
|
927
907
|
export interface HttpListenerContext$instance {
|
|
928
908
|
readonly Request: HttpListenerRequest;
|
|
929
909
|
readonly Response: HttpListenerResponse;
|
|
930
|
-
readonly User: IPrincipal;
|
|
910
|
+
readonly User: IPrincipal | undefined;
|
|
931
911
|
AcceptWebSocketAsync(subProtocol: string): Task_1<HttpListenerWebSocketContext>;
|
|
932
912
|
AcceptWebSocketAsync(subProtocol: string, keepAliveInterval: TimeSpan): Task_1<HttpListenerWebSocketContext>;
|
|
933
913
|
AcceptWebSocketAsync(subProtocol: string, receiveBufferSize: int, keepAliveInterval: TimeSpan): Task_1<HttpListenerWebSocketContext>;
|
|
@@ -936,7 +916,6 @@ export interface HttpListenerContext$instance {
|
|
|
936
916
|
|
|
937
917
|
|
|
938
918
|
export const HttpListenerContext: {
|
|
939
|
-
new(): HttpListenerContext;
|
|
940
919
|
};
|
|
941
920
|
|
|
942
921
|
|
|
@@ -952,7 +931,6 @@ export const HttpListenerException: {
|
|
|
952
931
|
new(): HttpListenerException;
|
|
953
932
|
new(errorCode: int): HttpListenerException;
|
|
954
933
|
new(errorCode: int, message: string): HttpListenerException;
|
|
955
|
-
new(serializationInfo: SerializationInfo, streamingContext: StreamingContext): HttpListenerException;
|
|
956
934
|
};
|
|
957
935
|
|
|
958
936
|
|
|
@@ -978,7 +956,6 @@ export interface HttpListenerPrefixCollection$instance {
|
|
|
978
956
|
|
|
979
957
|
|
|
980
958
|
export const HttpListenerPrefixCollection: {
|
|
981
|
-
new(): HttpListenerPrefixCollection;
|
|
982
959
|
};
|
|
983
960
|
|
|
984
961
|
|
|
@@ -996,7 +973,7 @@ export interface HttpListenerRequest$instance {
|
|
|
996
973
|
readonly ClientCertificateError: int;
|
|
997
974
|
readonly ContentEncoding: Encoding;
|
|
998
975
|
readonly ContentLength64: long;
|
|
999
|
-
readonly ContentType: string;
|
|
976
|
+
readonly ContentType: string | undefined;
|
|
1000
977
|
readonly Cookies: CookieCollection;
|
|
1001
978
|
readonly HasEntityBody: boolean;
|
|
1002
979
|
readonly Headers: NameValueCollection;
|
|
@@ -1007,17 +984,17 @@ export interface HttpListenerRequest$instance {
|
|
|
1007
984
|
readonly IsSecureConnection: boolean;
|
|
1008
985
|
readonly IsWebSocketRequest: boolean;
|
|
1009
986
|
readonly KeepAlive: boolean;
|
|
1010
|
-
readonly LocalEndPoint: IPEndPoint;
|
|
987
|
+
readonly LocalEndPoint: IPEndPoint | undefined;
|
|
1011
988
|
readonly ProtocolVersion: Version;
|
|
1012
989
|
readonly QueryString: NameValueCollection;
|
|
1013
990
|
readonly RawUrl: string | undefined;
|
|
1014
|
-
readonly RemoteEndPoint: IPEndPoint;
|
|
991
|
+
readonly RemoteEndPoint: IPEndPoint | undefined;
|
|
1015
992
|
readonly RequestTraceIdentifier: Guid;
|
|
1016
993
|
readonly ServiceName: string | undefined;
|
|
1017
994
|
readonly TransportContext: TransportContext;
|
|
1018
995
|
readonly Url: Uri | undefined;
|
|
1019
996
|
readonly UrlReferrer: Uri | undefined;
|
|
1020
|
-
readonly UserAgent: string;
|
|
997
|
+
readonly UserAgent: string | undefined;
|
|
1021
998
|
readonly UserHostAddress: string;
|
|
1022
999
|
readonly UserHostName: string;
|
|
1023
1000
|
readonly UserLanguages: string[] | undefined;
|
|
@@ -1029,23 +1006,24 @@ export interface HttpListenerRequest$instance {
|
|
|
1029
1006
|
|
|
1030
1007
|
|
|
1031
1008
|
export const HttpListenerRequest: {
|
|
1032
|
-
new(): HttpListenerRequest;
|
|
1033
1009
|
};
|
|
1034
1010
|
|
|
1035
1011
|
|
|
1036
1012
|
export type HttpListenerRequest = HttpListenerRequest$instance;
|
|
1037
1013
|
|
|
1038
1014
|
export interface HttpListenerResponse$instance {
|
|
1039
|
-
ContentEncoding: Encoding;
|
|
1015
|
+
get ContentEncoding(): Encoding | undefined;
|
|
1016
|
+
set ContentEncoding(value: Encoding | undefined);
|
|
1040
1017
|
ContentLength64: long;
|
|
1041
|
-
ContentType: string;
|
|
1018
|
+
get ContentType(): string | undefined;
|
|
1019
|
+
set ContentType(value: string | undefined);
|
|
1042
1020
|
Cookies: CookieCollection;
|
|
1043
1021
|
Headers: WebHeaderCollection;
|
|
1044
1022
|
KeepAlive: boolean;
|
|
1045
1023
|
readonly OutputStream: Stream;
|
|
1046
1024
|
ProtocolVersion: Version;
|
|
1047
1025
|
get RedirectLocation(): string | undefined;
|
|
1048
|
-
set RedirectLocation(value: string);
|
|
1026
|
+
set RedirectLocation(value: string | undefined);
|
|
1049
1027
|
SendChunked: boolean;
|
|
1050
1028
|
StatusCode: int;
|
|
1051
1029
|
StatusDescription: string;
|
|
@@ -1062,7 +1040,6 @@ export interface HttpListenerResponse$instance {
|
|
|
1062
1040
|
|
|
1063
1041
|
|
|
1064
1042
|
export const HttpListenerResponse: {
|
|
1065
|
-
new(): HttpListenerResponse;
|
|
1066
1043
|
};
|
|
1067
1044
|
|
|
1068
1045
|
|
|
@@ -1086,37 +1063,37 @@ export interface HttpListenerTimeoutManager$instance {
|
|
|
1086
1063
|
|
|
1087
1064
|
|
|
1088
1065
|
export const HttpListenerTimeoutManager: {
|
|
1089
|
-
new(): HttpListenerTimeoutManager;
|
|
1090
1066
|
};
|
|
1091
1067
|
|
|
1092
1068
|
|
|
1093
1069
|
export type HttpListenerTimeoutManager = HttpListenerTimeoutManager$instance;
|
|
1094
1070
|
|
|
1095
|
-
export
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
export interface HttpWebRequest$instance extends HttpWebRequest$protected, WebRequest$instance {
|
|
1101
|
-
Accept: string;
|
|
1071
|
+
export interface HttpWebRequest$instance extends WebRequest$instance {
|
|
1072
|
+
get Accept(): string | undefined;
|
|
1073
|
+
set Accept(value: string | undefined);
|
|
1102
1074
|
readonly Address: Uri;
|
|
1103
1075
|
AllowAutoRedirect: boolean;
|
|
1104
1076
|
AllowReadStreamBuffering: boolean;
|
|
1105
1077
|
AllowWriteStreamBuffering: boolean;
|
|
1106
1078
|
AutomaticDecompression: DecompressionMethods;
|
|
1107
1079
|
ClientCertificates: X509CertificateCollection;
|
|
1108
|
-
Connection: string;
|
|
1080
|
+
get Connection(): string | undefined;
|
|
1081
|
+
set Connection(value: string | undefined);
|
|
1109
1082
|
get ConnectionGroupName(): string | undefined;
|
|
1110
|
-
set ConnectionGroupName(value: string);
|
|
1083
|
+
set ConnectionGroupName(value: string | undefined);
|
|
1111
1084
|
ContentLength: long;
|
|
1112
|
-
ContentType: string;
|
|
1085
|
+
get ContentType(): string | undefined;
|
|
1086
|
+
set ContentType(value: string | undefined);
|
|
1113
1087
|
get ContinueDelegate(): HttpContinueDelegate | undefined;
|
|
1114
|
-
set ContinueDelegate(value: HttpContinueDelegate);
|
|
1088
|
+
set ContinueDelegate(value: HttpContinueDelegate | undefined);
|
|
1115
1089
|
ContinueTimeout: int;
|
|
1116
|
-
CookieContainer: CookieContainer;
|
|
1117
|
-
|
|
1090
|
+
get CookieContainer(): CookieContainer | undefined;
|
|
1091
|
+
set CookieContainer(value: CookieContainer | undefined);
|
|
1092
|
+
get Credentials(): ICredentials | undefined;
|
|
1093
|
+
set Credentials(value: ICredentials | undefined);
|
|
1118
1094
|
Date: DateTime;
|
|
1119
|
-
Expect: string;
|
|
1095
|
+
get Expect(): string | undefined;
|
|
1096
|
+
set Expect(value: string | undefined);
|
|
1120
1097
|
readonly HaveResponse: boolean;
|
|
1121
1098
|
Headers: WebHeaderCollection;
|
|
1122
1099
|
Host: string;
|
|
@@ -1124,27 +1101,30 @@ export interface HttpWebRequest$instance extends HttpWebRequest$protected, WebRe
|
|
|
1124
1101
|
KeepAlive: boolean;
|
|
1125
1102
|
MaximumAutomaticRedirections: int;
|
|
1126
1103
|
MaximumResponseHeadersLength: int;
|
|
1127
|
-
MediaType: string;
|
|
1104
|
+
get MediaType(): string | undefined;
|
|
1105
|
+
set MediaType(value: string | undefined);
|
|
1128
1106
|
Method: string;
|
|
1129
1107
|
Pipelined: boolean;
|
|
1130
1108
|
PreAuthenticate: boolean;
|
|
1131
1109
|
ProtocolVersion: Version;
|
|
1132
1110
|
get Proxy(): IWebProxy | undefined;
|
|
1133
|
-
set Proxy(value: IWebProxy);
|
|
1111
|
+
set Proxy(value: IWebProxy | undefined);
|
|
1134
1112
|
ReadWriteTimeout: int;
|
|
1135
1113
|
get Referer(): string | undefined;
|
|
1136
|
-
set Referer(value: string);
|
|
1114
|
+
set Referer(value: string | undefined);
|
|
1137
1115
|
readonly RequestUri: Uri;
|
|
1138
1116
|
SendChunked: boolean;
|
|
1139
1117
|
get ServerCertificateValidationCallback(): RemoteCertificateValidationCallback | undefined;
|
|
1140
|
-
set ServerCertificateValidationCallback(value: RemoteCertificateValidationCallback);
|
|
1118
|
+
set ServerCertificateValidationCallback(value: RemoteCertificateValidationCallback | undefined);
|
|
1141
1119
|
readonly ServicePoint: ServicePoint;
|
|
1142
1120
|
readonly SupportsCookieContainer: boolean;
|
|
1143
1121
|
Timeout: int;
|
|
1144
|
-
TransferEncoding: string;
|
|
1122
|
+
get TransferEncoding(): string | undefined;
|
|
1123
|
+
set TransferEncoding(value: string | undefined);
|
|
1145
1124
|
UnsafeAuthenticatedConnectionSharing: boolean;
|
|
1146
1125
|
UseDefaultCredentials: boolean;
|
|
1147
|
-
UserAgent: string;
|
|
1126
|
+
get UserAgent(): string | undefined;
|
|
1127
|
+
set UserAgent(value: string | undefined);
|
|
1148
1128
|
Abort(): void;
|
|
1149
1129
|
AddRange(from: int, to: int): void;
|
|
1150
1130
|
AddRange(from: long, to: long): void;
|
|
@@ -1158,17 +1138,17 @@ export interface HttpWebRequest$instance extends HttpWebRequest$protected, WebRe
|
|
|
1158
1138
|
BeginGetResponse(callback: AsyncCallback, state: unknown): IAsyncResult;
|
|
1159
1139
|
EndGetRequestStream(asyncResult: IAsyncResult): Stream;
|
|
1160
1140
|
EndGetResponse(asyncResult: IAsyncResult): WebResponse;
|
|
1141
|
+
GetObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
|
|
1161
1142
|
GetRequestStream(): Stream;
|
|
1162
1143
|
GetResponse(): WebResponse;
|
|
1163
1144
|
}
|
|
1164
1145
|
|
|
1165
1146
|
|
|
1166
|
-
export const HttpWebRequest: {
|
|
1167
|
-
new(serializationInfo: SerializationInfo, streamingContext: StreamingContext): HttpWebRequest;
|
|
1147
|
+
export const HttpWebRequest: (abstract new(serializationInfo: SerializationInfo, streamingContext: StreamingContext) => HttpWebRequest) & {
|
|
1168
1148
|
DefaultMaximumResponseHeadersLength: int;
|
|
1169
1149
|
DefaultMaximumErrorResponseLength: int;
|
|
1170
1150
|
get DefaultCachePolicy(): RequestCachePolicy | undefined;
|
|
1171
|
-
set DefaultCachePolicy(value: RequestCachePolicy);
|
|
1151
|
+
set DefaultCachePolicy(value: RequestCachePolicy | undefined);
|
|
1172
1152
|
};
|
|
1173
1153
|
|
|
1174
1154
|
|
|
@@ -1179,13 +1159,7 @@ export interface __HttpWebRequest$views {
|
|
|
1179
1159
|
export type HttpWebRequest = HttpWebRequest$instance & __HttpWebRequest$views;
|
|
1180
1160
|
|
|
1181
1161
|
|
|
1182
|
-
export
|
|
1183
|
-
protected Dispose2(disposing: boolean): void;
|
|
1184
|
-
protected GetObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
|
|
1185
|
-
}
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
export interface HttpWebResponse$instance extends HttpWebResponse$protected, WebResponse$instance {
|
|
1162
|
+
export interface HttpWebResponse$instance extends WebResponse$instance {
|
|
1189
1163
|
readonly CharacterSet: string | undefined;
|
|
1190
1164
|
readonly ContentEncoding: string;
|
|
1191
1165
|
readonly ContentLength: long;
|
|
@@ -1202,7 +1176,9 @@ export interface HttpWebResponse$instance extends HttpWebResponse$protected, Web
|
|
|
1202
1176
|
readonly StatusDescription: string;
|
|
1203
1177
|
readonly SupportsHeaders: boolean;
|
|
1204
1178
|
Close(): void;
|
|
1179
|
+
Dispose(disposing: boolean): void;
|
|
1205
1180
|
Dispose(): void;
|
|
1181
|
+
GetObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
|
|
1206
1182
|
GetResponseHeader(headerName: string): string;
|
|
1207
1183
|
GetResponseStream(): Stream;
|
|
1208
1184
|
}
|
|
@@ -1210,7 +1186,6 @@ export interface HttpWebResponse$instance extends HttpWebResponse$protected, Web
|
|
|
1210
1186
|
|
|
1211
1187
|
export const HttpWebResponse: {
|
|
1212
1188
|
new(): HttpWebResponse;
|
|
1213
|
-
new(serializationInfo: SerializationInfo, streamingContext: StreamingContext): HttpWebResponse;
|
|
1214
1189
|
};
|
|
1215
1190
|
|
|
1216
1191
|
|
|
@@ -1365,7 +1340,6 @@ export interface OpenReadCompletedEventArgs$instance extends AsyncCompletedEvent
|
|
|
1365
1340
|
|
|
1366
1341
|
|
|
1367
1342
|
export const OpenReadCompletedEventArgs: {
|
|
1368
|
-
new(): OpenReadCompletedEventArgs;
|
|
1369
1343
|
};
|
|
1370
1344
|
|
|
1371
1345
|
|
|
@@ -1377,7 +1351,6 @@ export interface OpenWriteCompletedEventArgs$instance extends AsyncCompletedEven
|
|
|
1377
1351
|
|
|
1378
1352
|
|
|
1379
1353
|
export const OpenWriteCompletedEventArgs: {
|
|
1380
|
-
new(): OpenWriteCompletedEventArgs;
|
|
1381
1354
|
};
|
|
1382
1355
|
|
|
1383
1356
|
|
|
@@ -1402,7 +1375,6 @@ export interface ProtocolViolationException$instance extends InvalidOperationExc
|
|
|
1402
1375
|
export const ProtocolViolationException: {
|
|
1403
1376
|
new(): ProtocolViolationException;
|
|
1404
1377
|
new(message: string): ProtocolViolationException;
|
|
1405
|
-
new(serializationInfo: SerializationInfo, streamingContext: StreamingContext): ProtocolViolationException;
|
|
1406
1378
|
};
|
|
1407
1379
|
|
|
1408
1380
|
|
|
@@ -1416,8 +1388,9 @@ export type ProtocolViolationException = ProtocolViolationException$instance & _
|
|
|
1416
1388
|
export interface ServicePoint$instance {
|
|
1417
1389
|
readonly Address: Uri;
|
|
1418
1390
|
get BindIPEndPointDelegate(): BindIPEndPoint | undefined;
|
|
1419
|
-
set BindIPEndPointDelegate(value: BindIPEndPoint);
|
|
1420
|
-
Certificate: X509Certificate;
|
|
1391
|
+
set BindIPEndPointDelegate(value: BindIPEndPoint | undefined);
|
|
1392
|
+
get Certificate(): X509Certificate | undefined;
|
|
1393
|
+
set Certificate(value: X509Certificate | undefined);
|
|
1421
1394
|
readonly ClientCertificate: X509Certificate | undefined;
|
|
1422
1395
|
ConnectionLeaseTimeout: int;
|
|
1423
1396
|
ConnectionLimit: int;
|
|
@@ -1436,7 +1409,6 @@ export interface ServicePoint$instance {
|
|
|
1436
1409
|
|
|
1437
1410
|
|
|
1438
1411
|
export const ServicePoint: {
|
|
1439
|
-
new(): ServicePoint;
|
|
1440
1412
|
};
|
|
1441
1413
|
|
|
1442
1414
|
|
|
@@ -1447,7 +1419,6 @@ export interface ServicePointManager$instance {
|
|
|
1447
1419
|
|
|
1448
1420
|
|
|
1449
1421
|
export const ServicePointManager: {
|
|
1450
|
-
new(): ServicePointManager;
|
|
1451
1422
|
readonly DefaultNonPersistentConnectionLimit: int;
|
|
1452
1423
|
readonly DefaultPersistentConnectionLimit: int;
|
|
1453
1424
|
SecurityProtocol: SecurityProtocolType;
|
|
@@ -1459,7 +1430,7 @@ export const ServicePointManager: {
|
|
|
1459
1430
|
EnableDnsRoundRobin: boolean;
|
|
1460
1431
|
DnsRefreshTimeout: int;
|
|
1461
1432
|
get ServerCertificateValidationCallback(): RemoteCertificateValidationCallback | undefined;
|
|
1462
|
-
set ServerCertificateValidationCallback(value: RemoteCertificateValidationCallback);
|
|
1433
|
+
set ServerCertificateValidationCallback(value: RemoteCertificateValidationCallback | undefined);
|
|
1463
1434
|
ReusePort: boolean;
|
|
1464
1435
|
CheckCertificateRevocationList: boolean;
|
|
1465
1436
|
readonly EncryptionPolicy: EncryptionPolicy;
|
|
@@ -1475,7 +1446,7 @@ export type ServicePointManager = ServicePointManager$instance;
|
|
|
1475
1446
|
export interface SocketAddress$instance {
|
|
1476
1447
|
readonly Buffer: Memory_1<System_Internal.Byte>;
|
|
1477
1448
|
readonly Family: AddressFamily;
|
|
1478
|
-
|
|
1449
|
+
[offset: number]: byte;
|
|
1479
1450
|
Size: int;
|
|
1480
1451
|
Equals(comparand: unknown): boolean;
|
|
1481
1452
|
Equals(comparand: SocketAddress): boolean;
|
|
@@ -1506,8 +1477,7 @@ export interface TransportContext$instance {
|
|
|
1506
1477
|
}
|
|
1507
1478
|
|
|
1508
1479
|
|
|
1509
|
-
export const TransportContext: {
|
|
1510
|
-
new(): TransportContext;
|
|
1480
|
+
export const TransportContext: (abstract new() => TransportContext) & {
|
|
1511
1481
|
};
|
|
1512
1482
|
|
|
1513
1483
|
|
|
@@ -1519,7 +1489,6 @@ export interface UploadDataCompletedEventArgs$instance extends AsyncCompletedEve
|
|
|
1519
1489
|
|
|
1520
1490
|
|
|
1521
1491
|
export const UploadDataCompletedEventArgs: {
|
|
1522
|
-
new(): UploadDataCompletedEventArgs;
|
|
1523
1492
|
};
|
|
1524
1493
|
|
|
1525
1494
|
|
|
@@ -1531,7 +1500,6 @@ export interface UploadFileCompletedEventArgs$instance extends AsyncCompletedEve
|
|
|
1531
1500
|
|
|
1532
1501
|
|
|
1533
1502
|
export const UploadFileCompletedEventArgs: {
|
|
1534
|
-
new(): UploadFileCompletedEventArgs;
|
|
1535
1503
|
};
|
|
1536
1504
|
|
|
1537
1505
|
|
|
@@ -1546,7 +1514,6 @@ export interface UploadProgressChangedEventArgs$instance extends ProgressChanged
|
|
|
1546
1514
|
|
|
1547
1515
|
|
|
1548
1516
|
export const UploadProgressChangedEventArgs: {
|
|
1549
|
-
new(): UploadProgressChangedEventArgs;
|
|
1550
1517
|
};
|
|
1551
1518
|
|
|
1552
1519
|
|
|
@@ -1558,7 +1525,6 @@ export interface UploadStringCompletedEventArgs$instance extends AsyncCompletedE
|
|
|
1558
1525
|
|
|
1559
1526
|
|
|
1560
1527
|
export const UploadStringCompletedEventArgs: {
|
|
1561
|
-
new(): UploadStringCompletedEventArgs;
|
|
1562
1528
|
};
|
|
1563
1529
|
|
|
1564
1530
|
|
|
@@ -1570,48 +1536,30 @@ export interface UploadValuesCompletedEventArgs$instance extends AsyncCompletedE
|
|
|
1570
1536
|
|
|
1571
1537
|
|
|
1572
1538
|
export const UploadValuesCompletedEventArgs: {
|
|
1573
|
-
new(): UploadValuesCompletedEventArgs;
|
|
1574
1539
|
};
|
|
1575
1540
|
|
|
1576
1541
|
|
|
1577
1542
|
export type UploadValuesCompletedEventArgs = UploadValuesCompletedEventArgs$instance;
|
|
1578
1543
|
|
|
1579
|
-
export
|
|
1580
|
-
protected Dispose2(disposing: boolean): void;
|
|
1581
|
-
protected GetWebRequest(address: Uri): WebRequest;
|
|
1582
|
-
protected GetWebResponse(request: WebRequest): WebResponse;
|
|
1583
|
-
protected GetWebResponse(request: WebRequest, result: IAsyncResult): WebResponse;
|
|
1584
|
-
protected OnDownloadDataCompleted(e: DownloadDataCompletedEventArgs): void;
|
|
1585
|
-
protected OnDownloadFileCompleted(e: AsyncCompletedEventArgs): void;
|
|
1586
|
-
protected OnDownloadProgressChanged(e: DownloadProgressChangedEventArgs): void;
|
|
1587
|
-
protected OnDownloadStringCompleted(e: DownloadStringCompletedEventArgs): void;
|
|
1588
|
-
protected OnOpenReadCompleted(e: OpenReadCompletedEventArgs): void;
|
|
1589
|
-
protected OnOpenWriteCompleted(e: OpenWriteCompletedEventArgs): void;
|
|
1590
|
-
protected OnUploadDataCompleted(e: UploadDataCompletedEventArgs): void;
|
|
1591
|
-
protected OnUploadFileCompleted(e: UploadFileCompletedEventArgs): void;
|
|
1592
|
-
protected OnUploadProgressChanged(e: UploadProgressChangedEventArgs): void;
|
|
1593
|
-
protected OnUploadStringCompleted(e: UploadStringCompletedEventArgs): void;
|
|
1594
|
-
protected OnUploadValuesCompleted(e: UploadValuesCompletedEventArgs): void;
|
|
1595
|
-
protected OnWriteStreamClosed(e: WriteStreamClosedEventArgs): void;
|
|
1596
|
-
}
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
export interface WebClient$instance extends WebClient$protected, Component {
|
|
1544
|
+
export interface WebClient$instance extends Component {
|
|
1600
1545
|
AllowReadStreamBuffering: boolean;
|
|
1601
1546
|
AllowWriteStreamBuffering: boolean;
|
|
1602
1547
|
BaseAddress: string;
|
|
1603
|
-
CachePolicy: RequestCachePolicy;
|
|
1604
|
-
|
|
1548
|
+
get CachePolicy(): RequestCachePolicy | undefined;
|
|
1549
|
+
set CachePolicy(value: RequestCachePolicy | undefined);
|
|
1550
|
+
get Credentials(): ICredentials | undefined;
|
|
1551
|
+
set Credentials(value: ICredentials | undefined);
|
|
1605
1552
|
Encoding: Encoding;
|
|
1606
1553
|
Headers: WebHeaderCollection;
|
|
1607
1554
|
readonly IsBusy: boolean;
|
|
1608
1555
|
get Proxy(): IWebProxy | undefined;
|
|
1609
|
-
set Proxy(value: IWebProxy);
|
|
1556
|
+
set Proxy(value: IWebProxy | undefined);
|
|
1610
1557
|
QueryString: NameValueCollection;
|
|
1611
1558
|
readonly ResponseHeaders: WebHeaderCollection | undefined;
|
|
1612
1559
|
UseDefaultCredentials: boolean;
|
|
1613
1560
|
CancelAsync(): void;
|
|
1614
1561
|
Dispose(): void;
|
|
1562
|
+
Dispose(disposing: boolean): void;
|
|
1615
1563
|
DownloadData(address: string): byte[];
|
|
1616
1564
|
DownloadData(address: Uri): byte[];
|
|
1617
1565
|
DownloadDataAsync(address: Uri): void;
|
|
@@ -1630,6 +1578,21 @@ export interface WebClient$instance extends WebClient$protected, Component {
|
|
|
1630
1578
|
DownloadStringAsync(address: Uri, userToken: unknown): void;
|
|
1631
1579
|
DownloadStringTaskAsync(address: string): Task_1<System_Internal.String>;
|
|
1632
1580
|
DownloadStringTaskAsync(address: Uri): Task_1<System_Internal.String>;
|
|
1581
|
+
GetWebRequest(address: Uri): WebRequest;
|
|
1582
|
+
GetWebResponse(request: WebRequest): WebResponse;
|
|
1583
|
+
GetWebResponse(request: WebRequest, result: IAsyncResult): WebResponse;
|
|
1584
|
+
OnDownloadDataCompleted(e: DownloadDataCompletedEventArgs): void;
|
|
1585
|
+
OnDownloadFileCompleted(e: AsyncCompletedEventArgs): void;
|
|
1586
|
+
OnDownloadProgressChanged(e: DownloadProgressChangedEventArgs): void;
|
|
1587
|
+
OnDownloadStringCompleted(e: DownloadStringCompletedEventArgs): void;
|
|
1588
|
+
OnOpenReadCompleted(e: OpenReadCompletedEventArgs): void;
|
|
1589
|
+
OnOpenWriteCompleted(e: OpenWriteCompletedEventArgs): void;
|
|
1590
|
+
OnUploadDataCompleted(e: UploadDataCompletedEventArgs): void;
|
|
1591
|
+
OnUploadFileCompleted(e: UploadFileCompletedEventArgs): void;
|
|
1592
|
+
OnUploadProgressChanged(e: UploadProgressChangedEventArgs): void;
|
|
1593
|
+
OnUploadStringCompleted(e: UploadStringCompletedEventArgs): void;
|
|
1594
|
+
OnUploadValuesCompleted(e: UploadValuesCompletedEventArgs): void;
|
|
1595
|
+
OnWriteStreamClosed(e: WriteStreamClosedEventArgs): void;
|
|
1633
1596
|
OpenRead(address: string): Stream;
|
|
1634
1597
|
OpenRead(address: Uri): Stream;
|
|
1635
1598
|
OpenReadAsync(address: Uri): void;
|
|
@@ -1708,7 +1671,7 @@ export type WebClient = WebClient$instance & __WebClient$views;
|
|
|
1708
1671
|
|
|
1709
1672
|
|
|
1710
1673
|
export interface WebException$instance extends InvalidOperationException {
|
|
1711
|
-
readonly Response: WebResponse;
|
|
1674
|
+
readonly Response: WebResponse | undefined;
|
|
1712
1675
|
readonly Status: WebExceptionStatus;
|
|
1713
1676
|
GetObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
|
|
1714
1677
|
}
|
|
@@ -1720,7 +1683,6 @@ export const WebException: {
|
|
|
1720
1683
|
new(message: string, innerException: Exception): WebException;
|
|
1721
1684
|
new(message: string, status: WebExceptionStatus): WebException;
|
|
1722
1685
|
new(message: string, innerException: Exception, status: WebExceptionStatus, response: WebResponse): WebException;
|
|
1723
|
-
new(serializationInfo: SerializationInfo, streamingContext: StreamingContext): WebException;
|
|
1724
1686
|
};
|
|
1725
1687
|
|
|
1726
1688
|
|
|
@@ -1746,7 +1708,7 @@ export interface WebHeaderCollection$instance extends NameValueCollection {
|
|
|
1746
1708
|
GetKey(index: int): string;
|
|
1747
1709
|
GetObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
|
|
1748
1710
|
GetValues(index: int): string[] | undefined;
|
|
1749
|
-
GetValues(header: string): string[];
|
|
1711
|
+
GetValues(header: string): string[] | undefined;
|
|
1750
1712
|
OnDeserialization(sender: unknown): void;
|
|
1751
1713
|
Remove(header: HttpResponseHeader): void;
|
|
1752
1714
|
Remove(name: string): void;
|
|
@@ -1758,7 +1720,6 @@ export interface WebHeaderCollection$instance extends NameValueCollection {
|
|
|
1758
1720
|
|
|
1759
1721
|
|
|
1760
1722
|
export const WebHeaderCollection: {
|
|
1761
|
-
new(serializationInfo: SerializationInfo, streamingContext: StreamingContext): WebHeaderCollection;
|
|
1762
1723
|
new(): WebHeaderCollection;
|
|
1763
1724
|
IsRestricted(headerName: string, response: boolean): boolean;
|
|
1764
1725
|
IsRestricted(headerName: string): boolean;
|
|
@@ -1775,18 +1736,16 @@ export interface __WebHeaderCollection$views {
|
|
|
1775
1736
|
export type WebHeaderCollection = WebHeaderCollection$instance & __WebHeaderCollection$views;
|
|
1776
1737
|
|
|
1777
1738
|
|
|
1778
|
-
export
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
export interface WebProxy$instance extends WebProxy$protected {
|
|
1784
|
-
Address: Uri;
|
|
1739
|
+
export interface WebProxy$instance {
|
|
1740
|
+
get Address(): Uri | undefined;
|
|
1741
|
+
set Address(value: Uri | undefined);
|
|
1785
1742
|
readonly BypassArrayList: ArrayList;
|
|
1786
1743
|
BypassList: string[];
|
|
1787
1744
|
BypassProxyOnLocal: boolean;
|
|
1788
|
-
Credentials: ICredentials;
|
|
1745
|
+
get Credentials(): ICredentials | undefined;
|
|
1746
|
+
set Credentials(value: ICredentials | undefined);
|
|
1789
1747
|
UseDefaultCredentials: boolean;
|
|
1748
|
+
GetObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
|
|
1790
1749
|
GetProxy(destination: Uri): Uri | undefined;
|
|
1791
1750
|
IsBypassed(host: Uri): boolean;
|
|
1792
1751
|
}
|
|
@@ -1803,7 +1762,6 @@ export const WebProxy: {
|
|
|
1803
1762
|
new(Address: string, BypassOnLocal: boolean): WebProxy;
|
|
1804
1763
|
new(Address: string, BypassOnLocal: boolean, BypassList: string[]): WebProxy;
|
|
1805
1764
|
new(Address: string, BypassOnLocal: boolean, BypassList: string[], Credentials: ICredentials): WebProxy;
|
|
1806
|
-
new(serializationInfo: SerializationInfo, streamingContext: StreamingContext): WebProxy;
|
|
1807
1765
|
GetDefaultProxy(): WebProxy;
|
|
1808
1766
|
};
|
|
1809
1767
|
|
|
@@ -1818,25 +1776,23 @@ export interface WebProxy$instance extends IWebProxy$instance, System_Runtime_Se
|
|
|
1818
1776
|
export type WebProxy = WebProxy$instance & __WebProxy$views;
|
|
1819
1777
|
|
|
1820
1778
|
|
|
1821
|
-
export
|
|
1822
|
-
protected GetObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
|
|
1823
|
-
}
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
export interface WebRequest$instance extends WebRequest$protected, MarshalByRefObject {
|
|
1779
|
+
export interface WebRequest$instance extends MarshalByRefObject {
|
|
1827
1780
|
AuthenticationLevel: AuthenticationLevel;
|
|
1828
|
-
CachePolicy: RequestCachePolicy;
|
|
1781
|
+
get CachePolicy(): RequestCachePolicy | undefined;
|
|
1782
|
+
set CachePolicy(value: RequestCachePolicy | undefined);
|
|
1829
1783
|
get ConnectionGroupName(): string | undefined;
|
|
1830
|
-
set ConnectionGroupName(value: string);
|
|
1784
|
+
set ConnectionGroupName(value: string | undefined);
|
|
1831
1785
|
ContentLength: long;
|
|
1832
|
-
ContentType: string;
|
|
1833
|
-
|
|
1786
|
+
get ContentType(): string | undefined;
|
|
1787
|
+
set ContentType(value: string | undefined);
|
|
1788
|
+
get Credentials(): ICredentials | undefined;
|
|
1789
|
+
set Credentials(value: ICredentials | undefined);
|
|
1834
1790
|
Headers: WebHeaderCollection;
|
|
1835
1791
|
ImpersonationLevel: TokenImpersonationLevel;
|
|
1836
1792
|
Method: string;
|
|
1837
1793
|
PreAuthenticate: boolean;
|
|
1838
1794
|
get Proxy(): IWebProxy | undefined;
|
|
1839
|
-
set Proxy(value: IWebProxy);
|
|
1795
|
+
set Proxy(value: IWebProxy | undefined);
|
|
1840
1796
|
readonly RequestUri: Uri;
|
|
1841
1797
|
Timeout: int;
|
|
1842
1798
|
UseDefaultCredentials: boolean;
|
|
@@ -1845,6 +1801,7 @@ export interface WebRequest$instance extends WebRequest$protected, MarshalByRefO
|
|
|
1845
1801
|
BeginGetResponse(callback: AsyncCallback, state: unknown): IAsyncResult;
|
|
1846
1802
|
EndGetRequestStream(asyncResult: IAsyncResult): Stream;
|
|
1847
1803
|
EndGetResponse(asyncResult: IAsyncResult): WebResponse;
|
|
1804
|
+
GetObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
|
|
1848
1805
|
GetRequestStream(): Stream;
|
|
1849
1806
|
GetRequestStreamAsync(): Task_1<Stream>;
|
|
1850
1807
|
GetResponse(): WebResponse;
|
|
@@ -1852,13 +1809,11 @@ export interface WebRequest$instance extends WebRequest$protected, MarshalByRefO
|
|
|
1852
1809
|
}
|
|
1853
1810
|
|
|
1854
1811
|
|
|
1855
|
-
export const WebRequest: {
|
|
1856
|
-
new(): WebRequest;
|
|
1857
|
-
new(serializationInfo: SerializationInfo, streamingContext: StreamingContext): WebRequest;
|
|
1812
|
+
export const WebRequest: (abstract new() => WebRequest) & (abstract new(serializationInfo: SerializationInfo, streamingContext: StreamingContext) => WebRequest) & {
|
|
1858
1813
|
get DefaultCachePolicy(): RequestCachePolicy | undefined;
|
|
1859
|
-
set DefaultCachePolicy(value: RequestCachePolicy);
|
|
1814
|
+
set DefaultCachePolicy(value: RequestCachePolicy | undefined);
|
|
1860
1815
|
get DefaultWebProxy(): IWebProxy | undefined;
|
|
1861
|
-
set DefaultWebProxy(value: IWebProxy);
|
|
1816
|
+
set DefaultWebProxy(value: IWebProxy | undefined);
|
|
1862
1817
|
Create(requestUriString: string): WebRequest;
|
|
1863
1818
|
Create(requestUri: Uri): WebRequest;
|
|
1864
1819
|
CreateDefault(requestUri: Uri): WebRequest;
|
|
@@ -1878,13 +1833,7 @@ export interface WebRequest$instance extends System_Runtime_Serialization_Intern
|
|
|
1878
1833
|
export type WebRequest = WebRequest$instance & __WebRequest$views;
|
|
1879
1834
|
|
|
1880
1835
|
|
|
1881
|
-
export
|
|
1882
|
-
protected Dispose(disposing: boolean): void;
|
|
1883
|
-
protected GetObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
|
|
1884
|
-
}
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
export interface WebResponse$instance extends WebResponse$protected, MarshalByRefObject {
|
|
1836
|
+
export interface WebResponse$instance extends MarshalByRefObject {
|
|
1888
1837
|
ContentLength: long;
|
|
1889
1838
|
ContentType: string;
|
|
1890
1839
|
readonly Headers: WebHeaderCollection;
|
|
@@ -1894,13 +1843,13 @@ export interface WebResponse$instance extends WebResponse$protected, MarshalByRe
|
|
|
1894
1843
|
readonly SupportsHeaders: boolean;
|
|
1895
1844
|
Close(): void;
|
|
1896
1845
|
Dispose(): void;
|
|
1846
|
+
Dispose(disposing: boolean): void;
|
|
1847
|
+
GetObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
|
|
1897
1848
|
GetResponseStream(): Stream;
|
|
1898
1849
|
}
|
|
1899
1850
|
|
|
1900
1851
|
|
|
1901
|
-
export const WebResponse: {
|
|
1902
|
-
new(): WebResponse;
|
|
1903
|
-
new(serializationInfo: SerializationInfo, streamingContext: StreamingContext): WebResponse;
|
|
1852
|
+
export const WebResponse: (abstract new() => WebResponse) & (abstract new(serializationInfo: SerializationInfo, streamingContext: StreamingContext) => WebResponse) & {
|
|
1904
1853
|
};
|
|
1905
1854
|
|
|
1906
1855
|
|