@tsonic/dotnet 0.8.2 → 0.8.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 +18 -18
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +1 -1
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +2 -2
- package/Microsoft.Win32/internal/index.d.ts +10 -10
- package/System/internal/index.d.ts +964 -950
- package/System.Buffers/internal/index.d.ts +2 -2
- package/System.Buffers.d.ts +3 -0
- package/System.CodeDom.Compiler/internal/index.d.ts +10 -10
- package/System.Collections/internal/index.d.ts +30 -24
- package/System.Collections.Concurrent/internal/index.d.ts +10 -10
- package/System.Collections.Frozen/bindings.json +20 -20
- package/System.Collections.Frozen/internal/index.d.ts +6 -6
- package/System.Collections.Frozen/internal/metadata.json +10 -10
- package/System.Collections.Frozen.d.ts +3 -0
- package/System.Collections.Generic/bindings.json +20 -44
- package/System.Collections.Generic/internal/index.d.ts +54 -54
- package/System.Collections.Generic/internal/metadata.json +10 -26
- package/System.Collections.Generic.d.ts +3 -0
- package/System.Collections.Immutable/internal/index.d.ts +88 -88
- package/System.Collections.Immutable.d.ts +3 -0
- package/System.Collections.ObjectModel/internal/index.d.ts +15 -15
- package/System.Collections.Specialized/internal/index.d.ts +53 -49
- package/System.ComponentModel/internal/index.d.ts +388 -376
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +55 -45
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +3 -2
- package/System.ComponentModel.Design/internal/index.d.ts +36 -36
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +20 -20
- package/System.Data/internal/index.d.ts +171 -163
- package/System.Data.Common/internal/index.d.ts +36 -28
- package/System.Data.Common.d.ts +3 -0
- package/System.Data.SqlTypes/internal/index.d.ts +23 -23
- package/System.Data.d.ts +3 -0
- package/System.Diagnostics/internal/index.d.ts +250 -228
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +37 -23
- package/System.Diagnostics.Contracts/internal/index.d.ts +4 -4
- package/System.Diagnostics.Metrics/internal/index.d.ts +34 -29
- package/System.Diagnostics.Metrics.d.ts +3 -0
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +4 -4
- package/System.Diagnostics.Tracing/internal/index.d.ts +26 -24
- package/System.Diagnostics.d.ts +3 -0
- package/System.Drawing/internal/index.d.ts +76 -76
- package/System.Dynamic/internal/index.d.ts +26 -26
- package/System.Formats.Asn1/internal/index.d.ts +4 -4
- package/System.Formats.Tar/internal/index.d.ts +5 -4
- package/System.Globalization/internal/index.d.ts +22 -20
- package/System.Globalization.d.ts +3 -0
- package/System.IO/internal/index.d.ts +106 -103
- package/System.IO.Compression/internal/index.d.ts +24 -24
- package/System.IO.Compression.d.ts +3 -0
- package/System.IO.Enumeration/internal/index.d.ts +7 -5
- package/System.IO.IsolatedStorage/internal/index.d.ts +9 -9
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +8 -8
- package/System.IO.Pipelines/internal/index.d.ts +5 -5
- package/System.IO.Pipelines.d.ts +3 -0
- package/System.IO.Pipes/internal/index.d.ts +4 -4
- package/System.IO.Pipes.d.ts +3 -0
- package/System.IO.d.ts +3 -0
- package/System.Linq/internal/index.d.ts +207 -207
- package/System.Linq.Expressions/internal/index.d.ts +160 -160
- package/System.Linq.d.ts +3 -0
- package/System.Net/internal/index.d.ts +157 -131
- package/System.Net.Cache/internal/index.d.ts +2 -2
- package/System.Net.Http/internal/index.d.ts +69 -53
- package/System.Net.Http.Headers/internal/index.d.ts +62 -45
- package/System.Net.Http.Json/internal/index.d.ts +38 -38
- package/System.Net.Http.Json.d.ts +3 -0
- package/System.Net.Http.Metrics/internal/index.d.ts +1 -1
- package/System.Net.Mail/internal/index.d.ts +80 -70
- package/System.Net.Mime/internal/index.d.ts +4 -2
- package/System.Net.NetworkInformation/internal/index.d.ts +23 -23
- package/System.Net.Quic/internal/index.d.ts +4 -3
- package/System.Net.Security/internal/index.d.ts +65 -49
- package/System.Net.ServerSentEvents/internal/index.d.ts +3 -2
- package/System.Net.Sockets/internal/index.d.ts +49 -42
- package/System.Net.Sockets.d.ts +3 -0
- package/System.Net.WebSockets/internal/index.d.ts +35 -29
- package/System.Numerics/bindings.json +96 -72
- package/System.Numerics/internal/index.d.ts +93 -91
- package/System.Numerics/internal/metadata.json +64 -48
- package/System.Numerics.d.ts +3 -0
- package/System.Reflection/internal/index.d.ts +129 -126
- package/System.Reflection.Emit/internal/index.d.ts +105 -105
- package/System.Reflection.Metadata/internal/index.d.ts +15 -15
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +4 -4
- package/System.Reflection.Metadata.Ecma335.d.ts +3 -0
- package/System.Reflection.Metadata.d.ts +3 -0
- package/System.Reflection.PortableExecutable/internal/index.d.ts +2 -2
- package/System.Reflection.d.ts +3 -0
- package/System.Resources/internal/index.d.ts +20 -19
- package/System.Runtime/internal/index.d.ts +6 -5
- package/System.Runtime.CompilerServices/internal/index.d.ts +30 -28
- package/System.Runtime.InteropServices/internal/index.d.ts +85 -83
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +9 -9
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +20 -20
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +28 -26
- package/System.Runtime.InteropServices.d.ts +3 -0
- package/System.Runtime.Intrinsics.d.ts +3 -0
- package/System.Runtime.Loader/internal/index.d.ts +2 -2
- package/System.Runtime.Remoting/internal/index.d.ts +1 -1
- package/System.Runtime.Serialization/internal/index.d.ts +66 -54
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +3 -3
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +4 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +5 -4
- package/System.Runtime.Serialization.Json/internal/index.d.ts +22 -21
- package/System.Runtime.Serialization.Json.d.ts +3 -0
- package/System.Runtime.Serialization.d.ts +3 -0
- package/System.Runtime.Versioning/internal/index.d.ts +12 -9
- package/System.Security/internal/index.d.ts +62 -52
- package/System.Security.AccessControl/internal/index.d.ts +29 -25
- package/System.Security.Authentication/internal/index.d.ts +4 -4
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +8 -8
- package/System.Security.Claims/internal/index.d.ts +21 -15
- package/System.Security.Cryptography/bindings.json +4212 -4212
- package/System.Security.Cryptography/internal/index.d.ts +155 -141
- package/System.Security.Cryptography.X509Certificates/bindings.json +768 -768
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +83 -82
- package/System.Security.Cryptography.X509Certificates.d.ts +3 -0
- package/System.Security.Permissions/internal/index.d.ts +2 -2
- package/System.Security.Principal/internal/index.d.ts +3 -3
- package/System.Text/internal/index.d.ts +48 -46
- package/System.Text.Json/internal/index.d.ts +87 -81
- package/System.Text.Json.Nodes/internal/index.d.ts +41 -41
- package/System.Text.Json.Schema/internal/index.d.ts +4 -3
- package/System.Text.Json.Schema.d.ts +3 -0
- package/System.Text.Json.Serialization/internal/index.d.ts +5 -4
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +55 -30
- package/System.Text.Json.Serialization.Metadata.d.ts +3 -0
- package/System.Text.Json.d.ts +3 -0
- package/System.Text.RegularExpressions/internal/index.d.ts +5 -5
- package/System.Text.Unicode/internal/index.d.ts +4 -4
- package/System.Text.d.ts +3 -0
- package/System.Threading/internal/index.d.ts +86 -85
- package/System.Threading.Channels/internal/index.d.ts +8 -8
- package/System.Threading.Tasks/internal/index.d.ts +82 -82
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +25 -26
- package/System.Threading.Tasks.Dataflow.d.ts +3 -0
- package/System.Threading.Tasks.Sources/internal/index.d.ts +4 -4
- package/System.Threading.Tasks.d.ts +3 -0
- package/System.Threading.d.ts +3 -0
- package/System.Timers/internal/index.d.ts +5 -3
- package/System.Transactions/internal/index.d.ts +18 -16
- package/System.Web/internal/index.d.ts +30 -30
- package/System.Windows.Input/internal/index.d.ts +2 -2
- package/System.Xml/internal/index.d.ts +162 -161
- package/System.Xml.Linq/internal/index.d.ts +38 -37
- package/System.Xml.Linq.d.ts +3 -0
- package/System.Xml.Resolvers/internal/index.d.ts +5 -5
- package/System.Xml.Schema/internal/index.d.ts +133 -88
- package/System.Xml.Schema.d.ts +3 -0
- package/System.Xml.Serialization/internal/index.d.ts +138 -117
- package/System.Xml.XPath/internal/index.d.ts +12 -12
- package/System.Xml.XPath.d.ts +3 -0
- package/System.Xml.Xsl/internal/index.d.ts +34 -34
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +16 -16
- package/System.d.ts +3 -0
- package/__internal/extensions/index.d.ts +2516 -2196
- package/package.json +2 -2
|
@@ -370,8 +370,8 @@ export type ICredentialsByHost = ICredentialsByHost$instance;
|
|
|
370
370
|
|
|
371
371
|
export interface IWebProxy$instance {
|
|
372
372
|
credentials: ICredentials;
|
|
373
|
-
getProxy(destination: Uri
|
|
374
|
-
isBypassed(host: Uri
|
|
373
|
+
getProxy(destination: Uri): Uri | undefined;
|
|
374
|
+
isBypassed(host: Uri): boolean;
|
|
375
375
|
}
|
|
376
376
|
|
|
377
377
|
|
|
@@ -400,7 +400,7 @@ export interface IPNetwork$instance {
|
|
|
400
400
|
equals(other: IPNetwork): boolean;
|
|
401
401
|
equals(obj: unknown): boolean;
|
|
402
402
|
getHashCode(): int;
|
|
403
|
-
toString(): string
|
|
403
|
+
toString(): string;
|
|
404
404
|
tryFormat(destination: Span_1<System_Internal.Char>, charsWritten: int): boolean;
|
|
405
405
|
tryFormat(utf8Destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
406
406
|
}
|
|
@@ -442,7 +442,8 @@ export interface AuthenticationManager$instance {
|
|
|
442
442
|
|
|
443
443
|
export const AuthenticationManager: {
|
|
444
444
|
new(): AuthenticationManager;
|
|
445
|
-
credentialPolicy: ICredentialPolicy | undefined;
|
|
445
|
+
get credentialPolicy(): ICredentialPolicy | undefined;
|
|
446
|
+
set credentialPolicy(value: ICredentialPolicy);
|
|
446
447
|
readonly customTargetNameDictionary: StringDictionary;
|
|
447
448
|
readonly registeredModules: IEnumerator;
|
|
448
449
|
authenticate(challenge: string, request: WebRequest, credentials: ICredentials): Authorization | undefined;
|
|
@@ -460,14 +461,15 @@ export interface Authorization$instance {
|
|
|
460
461
|
readonly connectionGroupId: string | undefined;
|
|
461
462
|
readonly message: string;
|
|
462
463
|
mutuallyAuthenticated: boolean;
|
|
463
|
-
protectionRealm: string[] | undefined;
|
|
464
|
+
get protectionRealm(): string[] | undefined;
|
|
465
|
+
set protectionRealm(value: string[]);
|
|
464
466
|
}
|
|
465
467
|
|
|
466
468
|
|
|
467
469
|
export const Authorization: {
|
|
468
|
-
new(token: string
|
|
469
|
-
new(token: string
|
|
470
|
-
new(token: string
|
|
470
|
+
new(token: string): Authorization;
|
|
471
|
+
new(token: string, finished: boolean): Authorization;
|
|
472
|
+
new(token: string, finished: boolean, connectionGroupId: string): Authorization;
|
|
471
473
|
};
|
|
472
474
|
|
|
473
475
|
|
|
@@ -475,7 +477,8 @@ export type Authorization = Authorization$instance;
|
|
|
475
477
|
|
|
476
478
|
export interface Cookie$instance {
|
|
477
479
|
comment: string;
|
|
478
|
-
commentUri: Uri | undefined;
|
|
480
|
+
get commentUri(): Uri | undefined;
|
|
481
|
+
set commentUri(value: Uri);
|
|
479
482
|
discard: boolean;
|
|
480
483
|
domain: string;
|
|
481
484
|
expired: boolean;
|
|
@@ -496,7 +499,7 @@ export interface Cookie$instance {
|
|
|
496
499
|
|
|
497
500
|
export const Cookie: {
|
|
498
501
|
new(): Cookie;
|
|
499
|
-
new(name: string, value: string
|
|
502
|
+
new(name: string, value: string): Cookie;
|
|
500
503
|
new(name: string, value: string, path: string): Cookie;
|
|
501
504
|
new(name: string, value: string, path: string, domain: string): Cookie;
|
|
502
505
|
};
|
|
@@ -683,14 +686,16 @@ export const EndPoint: {
|
|
|
683
686
|
export type EndPoint = EndPoint$instance;
|
|
684
687
|
|
|
685
688
|
export interface FileWebRequest$instance extends WebRequest$instance {
|
|
686
|
-
connectionGroupName: string | undefined;
|
|
689
|
+
get connectionGroupName(): string | undefined;
|
|
690
|
+
set connectionGroupName(value: string);
|
|
687
691
|
contentLength: long;
|
|
688
692
|
contentType: string;
|
|
689
693
|
credentials: ICredentials;
|
|
690
694
|
readonly headers: WebHeaderCollection;
|
|
691
695
|
method: string;
|
|
692
696
|
preAuthenticate: boolean;
|
|
693
|
-
proxy: IWebProxy | undefined;
|
|
697
|
+
get proxy(): IWebProxy | undefined;
|
|
698
|
+
set proxy(value: IWebProxy);
|
|
694
699
|
readonly requestUri: Uri;
|
|
695
700
|
timeout: int;
|
|
696
701
|
useDefaultCredentials: boolean;
|
|
@@ -754,7 +759,8 @@ export type FileWebResponse = FileWebResponse$instance & __FileWebResponse$views
|
|
|
754
759
|
export interface FtpWebRequest$instance extends WebRequest$instance {
|
|
755
760
|
cachePolicy: RequestCachePolicy;
|
|
756
761
|
clientCertificates: X509CertificateCollection;
|
|
757
|
-
connectionGroupName: string | undefined;
|
|
762
|
+
get connectionGroupName(): string | undefined;
|
|
763
|
+
set connectionGroupName(value: string);
|
|
758
764
|
contentLength: long;
|
|
759
765
|
contentOffset: long;
|
|
760
766
|
contentType: string;
|
|
@@ -764,9 +770,11 @@ export interface FtpWebRequest$instance extends WebRequest$instance {
|
|
|
764
770
|
keepAlive: boolean;
|
|
765
771
|
method: string;
|
|
766
772
|
preAuthenticate: boolean;
|
|
767
|
-
proxy: IWebProxy | undefined;
|
|
773
|
+
get proxy(): IWebProxy | undefined;
|
|
774
|
+
set proxy(value: IWebProxy);
|
|
768
775
|
readWriteTimeout: int;
|
|
769
|
-
renameTo: string | undefined;
|
|
776
|
+
get renameTo(): string | undefined;
|
|
777
|
+
set renameTo(value: string);
|
|
770
778
|
readonly requestUri: Uri;
|
|
771
779
|
readonly servicePoint: ServicePoint;
|
|
772
780
|
timeout: int;
|
|
@@ -774,10 +782,10 @@ export interface FtpWebRequest$instance extends WebRequest$instance {
|
|
|
774
782
|
useDefaultCredentials: boolean;
|
|
775
783
|
usePassive: boolean;
|
|
776
784
|
abort(): void;
|
|
777
|
-
beginGetRequestStream(callback: AsyncCallback
|
|
778
|
-
beginGetResponse(callback: AsyncCallback
|
|
779
|
-
endGetRequestStream(asyncResult: IAsyncResult
|
|
780
|
-
endGetResponse(asyncResult: IAsyncResult
|
|
785
|
+
beginGetRequestStream(callback: AsyncCallback, state: unknown): IAsyncResult;
|
|
786
|
+
beginGetResponse(callback: AsyncCallback, state: unknown): IAsyncResult;
|
|
787
|
+
endGetRequestStream(asyncResult: IAsyncResult): Stream;
|
|
788
|
+
endGetResponse(asyncResult: IAsyncResult): WebResponse;
|
|
781
789
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
782
790
|
getRequestStream(): Stream;
|
|
783
791
|
getResponse(): WebResponse;
|
|
@@ -786,7 +794,8 @@ export interface FtpWebRequest$instance extends WebRequest$instance {
|
|
|
786
794
|
|
|
787
795
|
export const FtpWebRequest: {
|
|
788
796
|
new(): FtpWebRequest;
|
|
789
|
-
defaultCachePolicy: RequestCachePolicy | undefined;
|
|
797
|
+
get defaultCachePolicy(): RequestCachePolicy | undefined;
|
|
798
|
+
set defaultCachePolicy(value: RequestCachePolicy);
|
|
790
799
|
};
|
|
791
800
|
|
|
792
801
|
|
|
@@ -847,14 +856,17 @@ export type GlobalProxySelection = GlobalProxySelection$instance;
|
|
|
847
856
|
|
|
848
857
|
export interface HttpListener$instance {
|
|
849
858
|
authenticationSchemes: AuthenticationSchemes;
|
|
850
|
-
authenticationSchemeSelectorDelegate: AuthenticationSchemeSelector | undefined;
|
|
859
|
+
get authenticationSchemeSelectorDelegate(): AuthenticationSchemeSelector | undefined;
|
|
860
|
+
set authenticationSchemeSelectorDelegate(value: AuthenticationSchemeSelector);
|
|
851
861
|
readonly defaultServiceNames: ServiceNameCollection;
|
|
852
862
|
extendedProtectionPolicy: ExtendedProtectionPolicy;
|
|
853
|
-
extendedProtectionSelectorDelegate: HttpListener_ExtendedProtectionSelector | undefined;
|
|
863
|
+
get extendedProtectionSelectorDelegate(): HttpListener_ExtendedProtectionSelector | undefined;
|
|
864
|
+
set extendedProtectionSelectorDelegate(value: HttpListener_ExtendedProtectionSelector);
|
|
854
865
|
ignoreWriteExceptions: boolean;
|
|
855
866
|
readonly isListening: boolean;
|
|
856
867
|
readonly prefixes: HttpListenerPrefixCollection;
|
|
857
|
-
realm: string | undefined;
|
|
868
|
+
get realm(): string | undefined;
|
|
869
|
+
set realm(value: string);
|
|
858
870
|
readonly timeoutManager: HttpListenerTimeoutManager;
|
|
859
871
|
unsafeConnectionNtlmAuthentication: boolean;
|
|
860
872
|
abort(): void;
|
|
@@ -904,10 +916,10 @@ export interface HttpListenerContext$instance {
|
|
|
904
916
|
readonly request: HttpListenerRequest;
|
|
905
917
|
readonly response: HttpListenerResponse;
|
|
906
918
|
readonly user: IPrincipal;
|
|
907
|
-
acceptWebSocketAsync(subProtocol: string
|
|
908
|
-
acceptWebSocketAsync(subProtocol: string
|
|
909
|
-
acceptWebSocketAsync(subProtocol: string
|
|
910
|
-
acceptWebSocketAsync(subProtocol: string
|
|
919
|
+
acceptWebSocketAsync(subProtocol: string): Task_1<HttpListenerWebSocketContext>;
|
|
920
|
+
acceptWebSocketAsync(subProtocol: string, keepAliveInterval: TimeSpan): Task_1<HttpListenerWebSocketContext>;
|
|
921
|
+
acceptWebSocketAsync(subProtocol: string, receiveBufferSize: int, keepAliveInterval: TimeSpan): Task_1<HttpListenerWebSocketContext>;
|
|
922
|
+
acceptWebSocketAsync(subProtocol: string, receiveBufferSize: int, keepAliveInterval: TimeSpan, internalBuffer: ArraySegment_1<System_Internal.Byte>): Task_1<HttpListenerWebSocketContext>;
|
|
911
923
|
}
|
|
912
924
|
|
|
913
925
|
|
|
@@ -996,8 +1008,8 @@ export interface HttpListenerRequest$instance {
|
|
|
996
1008
|
readonly userHostAddress: string;
|
|
997
1009
|
readonly userHostName: string;
|
|
998
1010
|
readonly userLanguages: string[] | undefined;
|
|
999
|
-
beginGetClientCertificate(requestCallback: AsyncCallback
|
|
1000
|
-
endGetClientCertificate(asyncResult: IAsyncResult
|
|
1011
|
+
beginGetClientCertificate(requestCallback: AsyncCallback, state: unknown): IAsyncResult;
|
|
1012
|
+
endGetClientCertificate(asyncResult: IAsyncResult): X509Certificate2 | undefined;
|
|
1001
1013
|
getClientCertificate(): X509Certificate2 | undefined;
|
|
1002
1014
|
getClientCertificateAsync(): Task_1<X509Certificate2 | undefined>;
|
|
1003
1015
|
}
|
|
@@ -1019,7 +1031,8 @@ export interface HttpListenerResponse$instance {
|
|
|
1019
1031
|
keepAlive: boolean;
|
|
1020
1032
|
readonly outputStream: Stream;
|
|
1021
1033
|
protocolVersion: Version;
|
|
1022
|
-
redirectLocation: string | undefined;
|
|
1034
|
+
get redirectLocation(): string | undefined;
|
|
1035
|
+
set redirectLocation(value: string);
|
|
1023
1036
|
sendChunked: boolean;
|
|
1024
1037
|
statusCode: int;
|
|
1025
1038
|
statusDescription: string;
|
|
@@ -1075,10 +1088,12 @@ export interface HttpWebRequest$instance extends WebRequest$instance {
|
|
|
1075
1088
|
automaticDecompression: DecompressionMethods;
|
|
1076
1089
|
clientCertificates: X509CertificateCollection;
|
|
1077
1090
|
connection: string;
|
|
1078
|
-
connectionGroupName: string | undefined;
|
|
1091
|
+
get connectionGroupName(): string | undefined;
|
|
1092
|
+
set connectionGroupName(value: string);
|
|
1079
1093
|
contentLength: long;
|
|
1080
1094
|
contentType: string;
|
|
1081
|
-
continueDelegate: HttpContinueDelegate | undefined;
|
|
1095
|
+
get continueDelegate(): HttpContinueDelegate | undefined;
|
|
1096
|
+
set continueDelegate(value: HttpContinueDelegate);
|
|
1082
1097
|
continueTimeout: int;
|
|
1083
1098
|
cookieContainer: CookieContainer;
|
|
1084
1099
|
credentials: ICredentials;
|
|
@@ -1096,12 +1111,15 @@ export interface HttpWebRequest$instance extends WebRequest$instance {
|
|
|
1096
1111
|
pipelined: boolean;
|
|
1097
1112
|
preAuthenticate: boolean;
|
|
1098
1113
|
protocolVersion: Version;
|
|
1099
|
-
proxy: IWebProxy | undefined;
|
|
1114
|
+
get proxy(): IWebProxy | undefined;
|
|
1115
|
+
set proxy(value: IWebProxy);
|
|
1100
1116
|
readWriteTimeout: int;
|
|
1101
|
-
referer: string | undefined;
|
|
1117
|
+
get referer(): string | undefined;
|
|
1118
|
+
set referer(value: string);
|
|
1102
1119
|
readonly requestUri: Uri;
|
|
1103
1120
|
sendChunked: boolean;
|
|
1104
|
-
serverCertificateValidationCallback: RemoteCertificateValidationCallback | undefined;
|
|
1121
|
+
get serverCertificateValidationCallback(): RemoteCertificateValidationCallback | undefined;
|
|
1122
|
+
set serverCertificateValidationCallback(value: RemoteCertificateValidationCallback);
|
|
1105
1123
|
readonly servicePoint: ServicePoint;
|
|
1106
1124
|
readonly supportsCookieContainer: boolean;
|
|
1107
1125
|
timeout: int;
|
|
@@ -1114,14 +1132,14 @@ export interface HttpWebRequest$instance extends WebRequest$instance {
|
|
|
1114
1132
|
addRange(from_: long, to: long): void;
|
|
1115
1133
|
addRange(range: int): void;
|
|
1116
1134
|
addRange(range: long): void;
|
|
1117
|
-
addRange(rangeSpecifier: string
|
|
1118
|
-
addRange(rangeSpecifier: string
|
|
1119
|
-
addRange(rangeSpecifier: string
|
|
1120
|
-
addRange(rangeSpecifier: string
|
|
1121
|
-
beginGetRequestStream(callback: AsyncCallback
|
|
1122
|
-
beginGetResponse(callback: AsyncCallback
|
|
1123
|
-
endGetRequestStream(asyncResult: IAsyncResult
|
|
1124
|
-
endGetResponse(asyncResult: IAsyncResult
|
|
1135
|
+
addRange(rangeSpecifier: string, from_: int, to: int): void;
|
|
1136
|
+
addRange(rangeSpecifier: string, from_: long, to: long): void;
|
|
1137
|
+
addRange(rangeSpecifier: string, range: int): void;
|
|
1138
|
+
addRange(rangeSpecifier: string, range: long): void;
|
|
1139
|
+
beginGetRequestStream(callback: AsyncCallback, state: unknown): IAsyncResult;
|
|
1140
|
+
beginGetResponse(callback: AsyncCallback, state: unknown): IAsyncResult;
|
|
1141
|
+
endGetRequestStream(asyncResult: IAsyncResult): Stream;
|
|
1142
|
+
endGetResponse(asyncResult: IAsyncResult): WebResponse;
|
|
1125
1143
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
1126
1144
|
getRequestStream(): Stream;
|
|
1127
1145
|
getResponse(): WebResponse;
|
|
@@ -1132,7 +1150,8 @@ export const HttpWebRequest: {
|
|
|
1132
1150
|
new(): HttpWebRequest;
|
|
1133
1151
|
defaultMaximumResponseHeadersLength: int;
|
|
1134
1152
|
defaultMaximumErrorResponseLength: int;
|
|
1135
|
-
defaultCachePolicy: RequestCachePolicy | undefined;
|
|
1153
|
+
get defaultCachePolicy(): RequestCachePolicy | undefined;
|
|
1154
|
+
set defaultCachePolicy(value: RequestCachePolicy);
|
|
1136
1155
|
};
|
|
1137
1156
|
|
|
1138
1157
|
|
|
@@ -1199,7 +1218,7 @@ export interface IPAddress$instance {
|
|
|
1199
1218
|
getHashCode(): int;
|
|
1200
1219
|
mapToIPv4(): IPAddress;
|
|
1201
1220
|
mapToIPv6(): IPAddress;
|
|
1202
|
-
toString(): string
|
|
1221
|
+
toString(): string;
|
|
1203
1222
|
tryFormat(destination: Span_1<System_Internal.Char>, charsWritten: int): boolean;
|
|
1204
1223
|
tryFormat(utf8Destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1205
1224
|
tryWriteBytes(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
@@ -1231,8 +1250,8 @@ export const IPAddress: {
|
|
|
1231
1250
|
parse(utf8Text: ReadOnlySpan_1<System_Internal.Byte>): IPAddress;
|
|
1232
1251
|
parse(ipSpan: ReadOnlySpan_1<System_Internal.Char>): IPAddress;
|
|
1233
1252
|
parse(ipString: string): IPAddress;
|
|
1234
|
-
tryParse(utf8Text: ReadOnlySpan_1<System_Internal.Byte>, result: IPAddress
|
|
1235
|
-
tryParse(ipSpan: ReadOnlySpan_1<System_Internal.Char>, address: IPAddress
|
|
1253
|
+
tryParse(utf8Text: ReadOnlySpan_1<System_Internal.Byte>, result: IPAddress): boolean;
|
|
1254
|
+
tryParse(ipSpan: ReadOnlySpan_1<System_Internal.Char>, address: IPAddress): boolean;
|
|
1236
1255
|
tryParse(ipString: string, address: IPAddress): boolean;
|
|
1237
1256
|
};
|
|
1238
1257
|
|
|
@@ -1273,8 +1292,8 @@ export const IPEndPoint: {
|
|
|
1273
1292
|
readonly maxPort: int;
|
|
1274
1293
|
parse(s: ReadOnlySpan_1<System_Internal.Char>): IPEndPoint;
|
|
1275
1294
|
parse(s: string): IPEndPoint;
|
|
1276
|
-
tryParse(s: ReadOnlySpan_1<System_Internal.Char>, result: IPEndPoint
|
|
1277
|
-
tryParse(s: string, result: IPEndPoint
|
|
1295
|
+
tryParse(s: ReadOnlySpan_1<System_Internal.Char>, result: IPEndPoint): boolean;
|
|
1296
|
+
tryParse(s: string, result: IPEndPoint): boolean;
|
|
1278
1297
|
};
|
|
1279
1298
|
|
|
1280
1299
|
|
|
@@ -1376,7 +1395,8 @@ export type ProtocolViolationException = ProtocolViolationException$instance & _
|
|
|
1376
1395
|
|
|
1377
1396
|
export interface ServicePoint$instance {
|
|
1378
1397
|
readonly address: Uri;
|
|
1379
|
-
bindIPEndPointDelegate: BindIPEndPoint | undefined;
|
|
1398
|
+
get bindIPEndPointDelegate(): BindIPEndPoint | undefined;
|
|
1399
|
+
set bindIPEndPointDelegate(value: BindIPEndPoint);
|
|
1380
1400
|
readonly certificate: X509Certificate;
|
|
1381
1401
|
readonly clientCertificate: X509Certificate | undefined;
|
|
1382
1402
|
connectionLeaseTimeout: int;
|
|
@@ -1390,7 +1410,7 @@ export interface ServicePoint$instance {
|
|
|
1390
1410
|
receiveBufferSize: int;
|
|
1391
1411
|
readonly supportsPipelining: boolean;
|
|
1392
1412
|
useNagleAlgorithm: boolean;
|
|
1393
|
-
closeConnectionGroup(connectionGroupName: string
|
|
1413
|
+
closeConnectionGroup(connectionGroupName: string): boolean;
|
|
1394
1414
|
setTcpKeepAlive(enabled: boolean, keepAliveTime: int, keepAliveInterval: int): void;
|
|
1395
1415
|
}
|
|
1396
1416
|
|
|
@@ -1418,13 +1438,14 @@ export const ServicePointManager: {
|
|
|
1418
1438
|
expect100Continue: boolean;
|
|
1419
1439
|
enableDnsRoundRobin: boolean;
|
|
1420
1440
|
dnsRefreshTimeout: int;
|
|
1421
|
-
serverCertificateValidationCallback: RemoteCertificateValidationCallback | undefined;
|
|
1441
|
+
get serverCertificateValidationCallback(): RemoteCertificateValidationCallback | undefined;
|
|
1442
|
+
set serverCertificateValidationCallback(value: RemoteCertificateValidationCallback);
|
|
1422
1443
|
reusePort: boolean;
|
|
1423
1444
|
checkCertificateRevocationList: boolean;
|
|
1424
1445
|
readonly encryptionPolicy: EncryptionPolicy;
|
|
1425
|
-
findServicePoint(uriString: string
|
|
1426
|
-
findServicePoint(address: Uri
|
|
1427
|
-
findServicePoint(address: Uri
|
|
1446
|
+
findServicePoint(uriString: string, proxy: IWebProxy): ServicePoint;
|
|
1447
|
+
findServicePoint(address: Uri, proxy: IWebProxy): ServicePoint;
|
|
1448
|
+
findServicePoint(address: Uri): ServicePoint;
|
|
1428
1449
|
setTcpKeepAlive(enabled: boolean, keepAliveTime: int, keepAliveInterval: int): void;
|
|
1429
1450
|
};
|
|
1430
1451
|
|
|
@@ -1439,7 +1460,7 @@ export interface SocketAddress$instance {
|
|
|
1439
1460
|
equals(comparand: unknown): boolean;
|
|
1440
1461
|
equals(comparand: SocketAddress): boolean;
|
|
1441
1462
|
getHashCode(): int;
|
|
1442
|
-
toString(): string
|
|
1463
|
+
toString(): string;
|
|
1443
1464
|
}
|
|
1444
1465
|
|
|
1445
1466
|
|
|
@@ -1461,7 +1482,7 @@ export type SocketAddress = SocketAddress$instance & __SocketAddress$views;
|
|
|
1461
1482
|
|
|
1462
1483
|
|
|
1463
1484
|
export interface TransportContext$instance {
|
|
1464
|
-
getChannelBinding(kind: ChannelBindingKind): ChannelBinding;
|
|
1485
|
+
getChannelBinding(kind: ChannelBindingKind): ChannelBinding | undefined;
|
|
1465
1486
|
}
|
|
1466
1487
|
|
|
1467
1488
|
|
|
@@ -1543,7 +1564,8 @@ export interface WebClient$instance extends Component {
|
|
|
1543
1564
|
encoding: Encoding;
|
|
1544
1565
|
headers: WebHeaderCollection;
|
|
1545
1566
|
readonly isBusy: boolean;
|
|
1546
|
-
proxy: IWebProxy | undefined;
|
|
1567
|
+
get proxy(): IWebProxy | undefined;
|
|
1568
|
+
set proxy(value: IWebProxy);
|
|
1547
1569
|
queryString: NameValueCollection;
|
|
1548
1570
|
readonly responseHeaders: WebHeaderCollection | undefined;
|
|
1549
1571
|
useDefaultCredentials: boolean;
|
|
@@ -1552,82 +1574,82 @@ export interface WebClient$instance extends Component {
|
|
|
1552
1574
|
downloadData(address: string): byte[];
|
|
1553
1575
|
downloadData(address: Uri): byte[];
|
|
1554
1576
|
downloadDataAsync(address: Uri): void;
|
|
1555
|
-
downloadDataAsync(address: Uri, userToken: unknown
|
|
1577
|
+
downloadDataAsync(address: Uri, userToken: unknown): void;
|
|
1556
1578
|
downloadDataTaskAsync(address: string): Task_1<byte[]>;
|
|
1557
1579
|
downloadDataTaskAsync(address: Uri): Task_1<byte[]>;
|
|
1558
1580
|
downloadFile(address: string, fileName: string): void;
|
|
1559
1581
|
downloadFile(address: Uri, fileName: string): void;
|
|
1560
1582
|
downloadFileAsync(address: Uri, fileName: string): void;
|
|
1561
|
-
downloadFileAsync(address: Uri, fileName: string, userToken: unknown
|
|
1583
|
+
downloadFileAsync(address: Uri, fileName: string, userToken: unknown): void;
|
|
1562
1584
|
downloadFileTaskAsync(address: string, fileName: string): Task;
|
|
1563
1585
|
downloadFileTaskAsync(address: Uri, fileName: string): Task;
|
|
1564
1586
|
downloadString(address: string): string;
|
|
1565
1587
|
downloadString(address: Uri): string;
|
|
1566
1588
|
downloadStringAsync(address: Uri): void;
|
|
1567
|
-
downloadStringAsync(address: Uri, userToken: unknown
|
|
1589
|
+
downloadStringAsync(address: Uri, userToken: unknown): void;
|
|
1568
1590
|
downloadStringTaskAsync(address: string): Task_1<System_Internal.String>;
|
|
1569
1591
|
downloadStringTaskAsync(address: Uri): Task_1<System_Internal.String>;
|
|
1570
1592
|
openRead(address: string): Stream;
|
|
1571
1593
|
openRead(address: Uri): Stream;
|
|
1572
1594
|
openReadAsync(address: Uri): void;
|
|
1573
|
-
openReadAsync(address: Uri, userToken: unknown
|
|
1595
|
+
openReadAsync(address: Uri, userToken: unknown): void;
|
|
1574
1596
|
openReadTaskAsync(address: string): Task_1<Stream>;
|
|
1575
1597
|
openReadTaskAsync(address: Uri): Task_1<Stream>;
|
|
1576
1598
|
openWrite(address: string): Stream;
|
|
1577
1599
|
openWrite(address: Uri): Stream;
|
|
1578
|
-
openWrite(address: string, method: string
|
|
1579
|
-
openWrite(address: Uri, method: string
|
|
1600
|
+
openWrite(address: string, method: string): Stream;
|
|
1601
|
+
openWrite(address: Uri, method: string): Stream;
|
|
1580
1602
|
openWriteAsync(address: Uri): void;
|
|
1581
|
-
openWriteAsync(address: Uri, method: string
|
|
1603
|
+
openWriteAsync(address: Uri, method: string): void;
|
|
1582
1604
|
openWriteAsync(address: Uri, method: string, userToken: unknown): void;
|
|
1583
1605
|
openWriteTaskAsync(address: string): Task_1<Stream>;
|
|
1584
1606
|
openWriteTaskAsync(address: Uri): Task_1<Stream>;
|
|
1585
|
-
openWriteTaskAsync(address: string, method: string
|
|
1586
|
-
openWriteTaskAsync(address: Uri, method: string
|
|
1607
|
+
openWriteTaskAsync(address: string, method: string): Task_1<Stream>;
|
|
1608
|
+
openWriteTaskAsync(address: Uri, method: string): Task_1<Stream>;
|
|
1587
1609
|
uploadData(address: string, data: byte[]): byte[];
|
|
1588
1610
|
uploadData(address: Uri, data: byte[]): byte[];
|
|
1589
|
-
uploadData(address: string, method: string
|
|
1590
|
-
uploadData(address: Uri, method: string
|
|
1611
|
+
uploadData(address: string, method: string, data: byte[]): byte[];
|
|
1612
|
+
uploadData(address: Uri, method: string, data: byte[]): byte[];
|
|
1591
1613
|
uploadDataAsync(address: Uri, data: byte[]): void;
|
|
1592
|
-
uploadDataAsync(address: Uri, method: string
|
|
1593
|
-
uploadDataAsync(address: Uri, method: string
|
|
1614
|
+
uploadDataAsync(address: Uri, method: string, data: byte[]): void;
|
|
1615
|
+
uploadDataAsync(address: Uri, method: string, data: byte[], userToken: unknown): void;
|
|
1594
1616
|
uploadDataTaskAsync(address: string, data: byte[]): Task_1<byte[]>;
|
|
1595
1617
|
uploadDataTaskAsync(address: Uri, data: byte[]): Task_1<byte[]>;
|
|
1596
|
-
uploadDataTaskAsync(address: string, method: string
|
|
1597
|
-
uploadDataTaskAsync(address: Uri, method: string
|
|
1618
|
+
uploadDataTaskAsync(address: string, method: string, data: byte[]): Task_1<byte[]>;
|
|
1619
|
+
uploadDataTaskAsync(address: Uri, method: string, data: byte[]): Task_1<byte[]>;
|
|
1598
1620
|
uploadFile(address: string, fileName: string): byte[];
|
|
1599
1621
|
uploadFile(address: Uri, fileName: string): byte[];
|
|
1600
|
-
uploadFile(address: string, method: string
|
|
1601
|
-
uploadFile(address: Uri, method: string
|
|
1622
|
+
uploadFile(address: string, method: string, fileName: string): byte[];
|
|
1623
|
+
uploadFile(address: Uri, method: string, fileName: string): byte[];
|
|
1602
1624
|
uploadFileAsync(address: Uri, fileName: string): void;
|
|
1603
|
-
uploadFileAsync(address: Uri, method: string
|
|
1604
|
-
uploadFileAsync(address: Uri, method: string
|
|
1625
|
+
uploadFileAsync(address: Uri, method: string, fileName: string): void;
|
|
1626
|
+
uploadFileAsync(address: Uri, method: string, fileName: string, userToken: unknown): void;
|
|
1605
1627
|
uploadFileTaskAsync(address: string, fileName: string): Task_1<byte[]>;
|
|
1606
1628
|
uploadFileTaskAsync(address: Uri, fileName: string): Task_1<byte[]>;
|
|
1607
|
-
uploadFileTaskAsync(address: string, method: string
|
|
1608
|
-
uploadFileTaskAsync(address: Uri, method: string
|
|
1629
|
+
uploadFileTaskAsync(address: string, method: string, fileName: string): Task_1<byte[]>;
|
|
1630
|
+
uploadFileTaskAsync(address: Uri, method: string, fileName: string): Task_1<byte[]>;
|
|
1609
1631
|
uploadString(address: string, data: string): string;
|
|
1610
1632
|
uploadString(address: Uri, data: string): string;
|
|
1611
|
-
uploadString(address: string, method: string
|
|
1612
|
-
uploadString(address: Uri, method: string
|
|
1633
|
+
uploadString(address: string, method: string, data: string): string;
|
|
1634
|
+
uploadString(address: Uri, method: string, data: string): string;
|
|
1613
1635
|
uploadStringAsync(address: Uri, data: string): void;
|
|
1614
|
-
uploadStringAsync(address: Uri, method: string
|
|
1615
|
-
uploadStringAsync(address: Uri, method: string
|
|
1636
|
+
uploadStringAsync(address: Uri, method: string, data: string): void;
|
|
1637
|
+
uploadStringAsync(address: Uri, method: string, data: string, userToken: unknown): void;
|
|
1616
1638
|
uploadStringTaskAsync(address: string, data: string): Task_1<System_Internal.String>;
|
|
1617
1639
|
uploadStringTaskAsync(address: Uri, data: string): Task_1<System_Internal.String>;
|
|
1618
|
-
uploadStringTaskAsync(address: string, method: string
|
|
1619
|
-
uploadStringTaskAsync(address: Uri, method: string
|
|
1640
|
+
uploadStringTaskAsync(address: string, method: string, data: string): Task_1<System_Internal.String>;
|
|
1641
|
+
uploadStringTaskAsync(address: Uri, method: string, data: string): Task_1<System_Internal.String>;
|
|
1620
1642
|
uploadValues(address: string, data: NameValueCollection): byte[];
|
|
1621
1643
|
uploadValues(address: Uri, data: NameValueCollection): byte[];
|
|
1622
|
-
uploadValues(address: string, method: string
|
|
1623
|
-
uploadValues(address: Uri, method: string
|
|
1644
|
+
uploadValues(address: string, method: string, data: NameValueCollection): byte[];
|
|
1645
|
+
uploadValues(address: Uri, method: string, data: NameValueCollection): byte[];
|
|
1624
1646
|
uploadValuesAsync(address: Uri, data: NameValueCollection): void;
|
|
1625
|
-
uploadValuesAsync(address: Uri, method: string
|
|
1626
|
-
uploadValuesAsync(address: Uri, method: string
|
|
1647
|
+
uploadValuesAsync(address: Uri, method: string, data: NameValueCollection): void;
|
|
1648
|
+
uploadValuesAsync(address: Uri, method: string, data: NameValueCollection, userToken: unknown): void;
|
|
1627
1649
|
uploadValuesTaskAsync(address: string, data: NameValueCollection): Task_1<byte[]>;
|
|
1628
|
-
uploadValuesTaskAsync(address: string, method: string
|
|
1650
|
+
uploadValuesTaskAsync(address: string, method: string, data: NameValueCollection): Task_1<byte[]>;
|
|
1629
1651
|
uploadValuesTaskAsync(address: Uri, data: NameValueCollection): Task_1<byte[]>;
|
|
1630
|
-
uploadValuesTaskAsync(address: Uri, method: string
|
|
1652
|
+
uploadValuesTaskAsync(address: Uri, method: string, data: NameValueCollection): Task_1<byte[]>;
|
|
1631
1653
|
}
|
|
1632
1654
|
|
|
1633
1655
|
|
|
@@ -1649,16 +1671,16 @@ export type WebClient = WebClient$instance & __WebClient$views;
|
|
|
1649
1671
|
export interface WebException$instance extends InvalidOperationException {
|
|
1650
1672
|
readonly response: WebResponse;
|
|
1651
1673
|
readonly status: WebExceptionStatus;
|
|
1652
|
-
getObjectData(serializationInfo: SerializationInfo
|
|
1674
|
+
getObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
|
|
1653
1675
|
}
|
|
1654
1676
|
|
|
1655
1677
|
|
|
1656
1678
|
export const WebException: {
|
|
1657
1679
|
new(): WebException;
|
|
1658
|
-
new(message: string
|
|
1659
|
-
new(message: string
|
|
1660
|
-
new(message: string
|
|
1661
|
-
new(message: string
|
|
1680
|
+
new(message: string): WebException;
|
|
1681
|
+
new(message: string, innerException: Exception): WebException;
|
|
1682
|
+
new(message: string, status: WebExceptionStatus): WebException;
|
|
1683
|
+
new(message: string, innerException: Exception, status: WebExceptionStatus, response: WebResponse): WebException;
|
|
1662
1684
|
};
|
|
1663
1685
|
|
|
1664
1686
|
|
|
@@ -1674,12 +1696,12 @@ export interface WebHeaderCollection$instance extends NameValueCollection {
|
|
|
1674
1696
|
readonly count: int;
|
|
1675
1697
|
readonly keys: NameObjectCollectionBase_KeysCollection;
|
|
1676
1698
|
add(header: HttpResponseHeader, value: string): void;
|
|
1677
|
-
add(name: string, value: string
|
|
1678
|
-
add(c: NameValueCollection
|
|
1699
|
+
add(name: string, value: string): void;
|
|
1700
|
+
add(c: NameValueCollection): void;
|
|
1679
1701
|
clear(): void;
|
|
1680
|
-
copyTo(dest: ClrArray
|
|
1681
|
-
get_(index: int): string;
|
|
1682
|
-
get_(name: string): string;
|
|
1702
|
+
copyTo(dest: ClrArray, index: int): void;
|
|
1703
|
+
get_(index: int): string | undefined;
|
|
1704
|
+
get_(name: string): string | undefined;
|
|
1683
1705
|
getEnumerator(): IEnumerator;
|
|
1684
1706
|
getKey(index: int): string;
|
|
1685
1707
|
getObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
|
|
@@ -1688,7 +1710,7 @@ export interface WebHeaderCollection$instance extends NameValueCollection {
|
|
|
1688
1710
|
onDeserialization(sender: unknown): void;
|
|
1689
1711
|
remove(header: HttpResponseHeader): void;
|
|
1690
1712
|
remove(name: string): void;
|
|
1691
|
-
set_(name: string, value: string
|
|
1713
|
+
set_(name: string, value: string): void;
|
|
1692
1714
|
set_(header: HttpResponseHeader, value: string): void;
|
|
1693
1715
|
toByteArray(): byte[];
|
|
1694
1716
|
toString(): string;
|
|
@@ -1719,23 +1741,23 @@ export interface WebProxy$instance {
|
|
|
1719
1741
|
bypassProxyOnLocal: boolean;
|
|
1720
1742
|
credentials: ICredentials;
|
|
1721
1743
|
useDefaultCredentials: boolean;
|
|
1722
|
-
getProxy(destination: Uri
|
|
1723
|
-
isBypassed(host: Uri
|
|
1744
|
+
getProxy(destination: Uri): Uri | undefined;
|
|
1745
|
+
isBypassed(host: Uri): boolean;
|
|
1724
1746
|
}
|
|
1725
1747
|
|
|
1726
1748
|
|
|
1727
1749
|
export const WebProxy: {
|
|
1728
1750
|
new(): WebProxy;
|
|
1729
|
-
new(Address: Uri
|
|
1730
|
-
new(Address: Uri
|
|
1731
|
-
new(Address: Uri
|
|
1732
|
-
new(Address: Uri
|
|
1733
|
-
new(Host: string
|
|
1734
|
-
new(Address: string
|
|
1735
|
-
new(Address: string
|
|
1736
|
-
new(Address: string
|
|
1737
|
-
new(Address: string
|
|
1738
|
-
getDefaultProxy(): WebProxy
|
|
1751
|
+
new(Address: Uri): WebProxy;
|
|
1752
|
+
new(Address: Uri, BypassOnLocal: boolean): WebProxy;
|
|
1753
|
+
new(Address: Uri, BypassOnLocal: boolean, BypassList: string[]): WebProxy;
|
|
1754
|
+
new(Address: Uri, BypassOnLocal: boolean, BypassList: string[], Credentials: ICredentials): WebProxy;
|
|
1755
|
+
new(Host: string, Port: int): WebProxy;
|
|
1756
|
+
new(Address: string): WebProxy;
|
|
1757
|
+
new(Address: string, BypassOnLocal: boolean): WebProxy;
|
|
1758
|
+
new(Address: string, BypassOnLocal: boolean, BypassList: string[]): WebProxy;
|
|
1759
|
+
new(Address: string, BypassOnLocal: boolean, BypassList: string[], Credentials: ICredentials): WebProxy;
|
|
1760
|
+
getDefaultProxy(): WebProxy;
|
|
1739
1761
|
};
|
|
1740
1762
|
|
|
1741
1763
|
|
|
@@ -1752,7 +1774,8 @@ export type WebProxy = WebProxy$instance & __WebProxy$views;
|
|
|
1752
1774
|
export interface WebRequest$instance extends MarshalByRefObject {
|
|
1753
1775
|
authenticationLevel: AuthenticationLevel;
|
|
1754
1776
|
cachePolicy: RequestCachePolicy;
|
|
1755
|
-
connectionGroupName: string | undefined;
|
|
1777
|
+
get connectionGroupName(): string | undefined;
|
|
1778
|
+
set connectionGroupName(value: string);
|
|
1756
1779
|
contentLength: long;
|
|
1757
1780
|
contentType: string;
|
|
1758
1781
|
credentials: ICredentials;
|
|
@@ -1760,7 +1783,8 @@ export interface WebRequest$instance extends MarshalByRefObject {
|
|
|
1760
1783
|
impersonationLevel: TokenImpersonationLevel;
|
|
1761
1784
|
method: string;
|
|
1762
1785
|
preAuthenticate: boolean;
|
|
1763
|
-
proxy: IWebProxy | undefined;
|
|
1786
|
+
get proxy(): IWebProxy | undefined;
|
|
1787
|
+
set proxy(value: IWebProxy);
|
|
1764
1788
|
readonly requestUri: Uri;
|
|
1765
1789
|
timeout: int;
|
|
1766
1790
|
useDefaultCredentials: boolean;
|
|
@@ -1777,8 +1801,10 @@ export interface WebRequest$instance extends MarshalByRefObject {
|
|
|
1777
1801
|
|
|
1778
1802
|
|
|
1779
1803
|
export const WebRequest: {
|
|
1780
|
-
defaultCachePolicy: RequestCachePolicy | undefined;
|
|
1781
|
-
|
|
1804
|
+
get defaultCachePolicy(): RequestCachePolicy | undefined;
|
|
1805
|
+
set defaultCachePolicy(value: RequestCachePolicy);
|
|
1806
|
+
get defaultWebProxy(): IWebProxy | undefined;
|
|
1807
|
+
set defaultWebProxy(value: IWebProxy);
|
|
1782
1808
|
create(requestUriString: string): WebRequest;
|
|
1783
1809
|
create(requestUri: Uri): WebRequest;
|
|
1784
1810
|
createDefault(requestUri: Uri): WebRequest;
|
|
@@ -1839,11 +1865,11 @@ export const WriteStreamClosedEventArgs: {
|
|
|
1839
1865
|
export type WriteStreamClosedEventArgs = WriteStreamClosedEventArgs$instance;
|
|
1840
1866
|
|
|
1841
1867
|
export abstract class Dns$instance {
|
|
1842
|
-
static beginGetHostAddresses(hostNameOrAddress: string, requestCallback: AsyncCallback
|
|
1843
|
-
static beginGetHostByName(hostName: string, requestCallback: AsyncCallback
|
|
1844
|
-
static beginGetHostEntry(address: IPAddress, requestCallback: AsyncCallback
|
|
1845
|
-
static beginGetHostEntry(hostNameOrAddress: string, requestCallback: AsyncCallback
|
|
1846
|
-
static beginResolve(hostName: string, requestCallback: AsyncCallback
|
|
1868
|
+
static beginGetHostAddresses(hostNameOrAddress: string, requestCallback: AsyncCallback, state: unknown): IAsyncResult;
|
|
1869
|
+
static beginGetHostByName(hostName: string, requestCallback: AsyncCallback, stateObject: unknown): IAsyncResult;
|
|
1870
|
+
static beginGetHostEntry(address: IPAddress, requestCallback: AsyncCallback, stateObject: unknown): IAsyncResult;
|
|
1871
|
+
static beginGetHostEntry(hostNameOrAddress: string, requestCallback: AsyncCallback, stateObject: unknown): IAsyncResult;
|
|
1872
|
+
static beginResolve(hostName: string, requestCallback: AsyncCallback, stateObject: unknown): IAsyncResult;
|
|
1847
1873
|
static endGetHostAddresses(asyncResult: IAsyncResult): IPAddress[];
|
|
1848
1874
|
static endGetHostByName(asyncResult: IAsyncResult): IPHostEntry;
|
|
1849
1875
|
static endGetHostEntry(asyncResult: IAsyncResult): IPHostEntry;
|
|
@@ -1927,14 +1953,14 @@ export abstract class WebRequestMethods_Http$instance {
|
|
|
1927
1953
|
export type WebRequestMethods_Http = WebRequestMethods_Http$instance;
|
|
1928
1954
|
|
|
1929
1955
|
export abstract class WebUtility$instance {
|
|
1930
|
-
static htmlDecode(value: string
|
|
1931
|
-
static htmlDecode(value: string
|
|
1932
|
-
static htmlEncode(value: string
|
|
1933
|
-
static htmlEncode(value: string
|
|
1934
|
-
static urlDecode(encodedValue: string
|
|
1935
|
-
static urlDecodeToBytes(encodedValue: byte[]
|
|
1936
|
-
static urlEncode(value: string
|
|
1937
|
-
static urlEncodeToBytes(value: byte[]
|
|
1956
|
+
static htmlDecode(value: string, output: TextWriter): void;
|
|
1957
|
+
static htmlDecode(value: string): string | undefined;
|
|
1958
|
+
static htmlEncode(value: string, output: TextWriter): void;
|
|
1959
|
+
static htmlEncode(value: string): string | undefined;
|
|
1960
|
+
static urlDecode(encodedValue: string): string | undefined;
|
|
1961
|
+
static urlDecodeToBytes(encodedValue: byte[], offset: int, count: int): byte[] | undefined;
|
|
1962
|
+
static urlEncode(value: string): string | undefined;
|
|
1963
|
+
static urlEncodeToBytes(value: byte[], offset: int, count: int): byte[] | undefined;
|
|
1938
1964
|
}
|
|
1939
1965
|
|
|
1940
1966
|
|
|
@@ -49,7 +49,7 @@ export interface HttpRequestCachePolicy$instance extends RequestCachePolicy {
|
|
|
49
49
|
readonly maxAge: TimeSpan;
|
|
50
50
|
readonly maxStale: TimeSpan;
|
|
51
51
|
readonly minFresh: TimeSpan;
|
|
52
|
-
toString(): string
|
|
52
|
+
toString(): string;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
|
|
@@ -67,7 +67,7 @@ export type HttpRequestCachePolicy = HttpRequestCachePolicy$instance;
|
|
|
67
67
|
|
|
68
68
|
export interface RequestCachePolicy$instance {
|
|
69
69
|
readonly level: HttpRequestCacheLevel | RequestCacheLevel;
|
|
70
|
-
toString(): string
|
|
70
|
+
toString(): string;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
|