@tsonic/dotnet 0.8.0 → 0.8.2
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 +21 -21
- package/Microsoft.VisualBasic/internal/index.d.ts +24 -24
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +30 -30
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +16 -16
- package/Microsoft.Win32/internal/index.d.ts +12 -12
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +19 -19
- package/System/bindings.json +114 -114
- package/System/internal/index.d.ts +1277 -1289
- package/System/internal/metadata.json +73 -73
- package/System.Buffers/internal/index.d.ts +13 -13
- package/System.CodeDom.Compiler/internal/index.d.ts +13 -13
- package/System.Collections/internal/index.d.ts +66 -68
- package/System.Collections.Concurrent/internal/index.d.ts +24 -24
- package/System.Collections.Frozen/bindings.json +20 -20
- package/System.Collections.Frozen/internal/index.d.ts +10 -10
- package/System.Collections.Frozen/internal/metadata.json +10 -10
- package/System.Collections.Generic/bindings.json +44 -20
- package/System.Collections.Generic/internal/index.d.ts +141 -133
- package/System.Collections.Generic/internal/metadata.json +26 -10
- package/System.Collections.Immutable/internal/index.d.ts +121 -121
- package/System.Collections.ObjectModel/internal/index.d.ts +23 -23
- package/System.Collections.Specialized/internal/index.d.ts +85 -87
- package/System.ComponentModel/internal/index.d.ts +595 -597
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +105 -105
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +9 -9
- package/System.ComponentModel.Design/internal/index.d.ts +90 -90
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +37 -37
- package/System.Data/internal/index.d.ts +225 -225
- package/System.Data.Common/internal/index.d.ts +62 -62
- package/System.Data.SqlTypes/internal/index.d.ts +73 -73
- package/System.Diagnostics/internal/index.d.ts +343 -343
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +50 -50
- package/System.Diagnostics.Contracts/internal/index.d.ts +20 -20
- package/System.Diagnostics.Metrics/internal/index.d.ts +46 -46
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +9 -9
- package/System.Diagnostics.Tracing/internal/index.d.ts +44 -44
- package/System.Drawing/internal/index.d.ts +99 -99
- package/System.Dynamic/internal/index.d.ts +33 -33
- package/System.Formats.Asn1/internal/index.d.ts +12 -12
- package/System.Formats.Tar/internal/index.d.ts +17 -17
- package/System.Globalization/internal/index.d.ts +51 -51
- package/System.IO/internal/index.d.ts +172 -172
- package/System.IO.Compression/internal/index.d.ts +56 -56
- package/System.IO.Enumeration/internal/index.d.ts +6 -6
- package/System.IO.IsolatedStorage/internal/index.d.ts +17 -17
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +11 -11
- package/System.IO.Pipelines/internal/index.d.ts +13 -13
- package/System.IO.Pipes/internal/index.d.ts +32 -32
- package/System.Linq/internal/index.d.ts +187 -187
- package/System.Linq.Expressions/internal/index.d.ts +203 -203
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +3 -3
- package/System.Net/internal/index.d.ts +218 -220
- package/System.Net.Cache/internal/index.d.ts +10 -10
- package/System.Net.Http/internal/index.d.ts +89 -89
- package/System.Net.Http.Headers/internal/index.d.ts +86 -86
- package/System.Net.Http.Json/internal/index.d.ts +59 -59
- package/System.Net.Http.Metrics/internal/index.d.ts +2 -2
- package/System.Net.Mail/internal/index.d.ts +92 -92
- package/System.Net.Mime/internal/index.d.ts +6 -6
- package/System.Net.NetworkInformation/internal/index.d.ts +39 -39
- package/System.Net.Quic/internal/index.d.ts +13 -13
- package/System.Net.Security/internal/index.d.ts +70 -70
- package/System.Net.ServerSentEvents/internal/index.d.ts +3 -3
- package/System.Net.Sockets/internal/index.d.ts +94 -94
- package/System.Net.WebSockets/internal/index.d.ts +46 -46
- package/System.Numerics/bindings.json +384 -0
- package/System.Numerics/internal/index.d.ts +128 -130
- package/System.Numerics/internal/metadata.json +256 -0
- package/System.Reflection/internal/index.d.ts +271 -271
- package/System.Reflection.Emit/internal/index.d.ts +123 -123
- package/System.Reflection.Metadata/bindings.json +48 -0
- package/System.Reflection.Metadata/internal/index.d.ts +179 -179
- package/System.Reflection.Metadata/internal/metadata.json +32 -0
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +40 -40
- package/System.Reflection.PortableExecutable/internal/index.d.ts +26 -26
- package/System.Resources/internal/index.d.ts +38 -38
- package/System.Runtime/internal/index.d.ts +9 -9
- package/System.Runtime.CompilerServices/internal/index.d.ts +168 -168
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +2 -2
- package/System.Runtime.ExceptionServices/internal/index.d.ts +3 -3
- package/System.Runtime.InteropServices/bindings.json +22 -22
- package/System.Runtime.InteropServices/internal/index.d.ts +184 -184
- package/System.Runtime.InteropServices/internal/metadata.json +13 -13
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +30 -30
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +3 -3
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +50 -50
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +63 -63
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +1 -1
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +4 -4
- package/System.Runtime.Intrinsics/internal/index.d.ts +4 -4
- package/System.Runtime.Loader/internal/index.d.ts +9 -9
- package/System.Runtime.Remoting/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization/internal/index.d.ts +113 -115
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +19 -19
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +5 -5
- package/System.Runtime.Serialization.Json/internal/index.d.ts +28 -28
- package/System.Runtime.Versioning/internal/index.d.ts +22 -22
- package/System.Security/internal/index.d.ts +63 -63
- package/System.Security.AccessControl/internal/index.d.ts +84 -84
- package/System.Security.Authentication/internal/index.d.ts +6 -6
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +13 -13
- package/System.Security.Claims/internal/index.d.ts +38 -40
- package/System.Security.Cryptography/internal/index.d.ts +378 -378
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +172 -172
- package/System.Security.Permissions/internal/index.d.ts +1 -1
- package/System.Security.Policy/internal/index.d.ts +6 -6
- package/System.Security.Principal/internal/index.d.ts +29 -31
- package/System.Text/internal/index.d.ts +94 -94
- package/System.Text.Encodings.Web/internal/index.d.ts +3 -3
- package/System.Text.Json/internal/index.d.ts +103 -103
- package/System.Text.Json.Nodes/internal/index.d.ts +73 -73
- package/System.Text.Json.Schema/internal/index.d.ts +7 -7
- package/System.Text.Json.Serialization/internal/index.d.ts +34 -34
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +57 -57
- package/System.Text.RegularExpressions/internal/index.d.ts +29 -29
- package/System.Text.Unicode/internal/index.d.ts +6 -6
- package/System.Threading/internal/index.d.ts +160 -160
- package/System.Threading.Channels/internal/index.d.ts +12 -12
- package/System.Threading.Tasks/internal/index.d.ts +125 -135
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +54 -51
- package/System.Threading.Tasks.Sources/internal/index.d.ts +5 -5
- package/System.Timers/internal/index.d.ts +8 -8
- package/System.Transactions/internal/index.d.ts +51 -51
- package/System.Web/internal/index.d.ts +32 -32
- package/System.Windows.Input/internal/index.d.ts +2 -2
- package/System.Windows.Markup/internal/index.d.ts +2 -2
- package/System.Xml/internal/index.d.ts +281 -281
- package/System.Xml.Linq/internal/index.d.ts +76 -76
- package/System.Xml.Resolvers/internal/index.d.ts +8 -8
- package/System.Xml.Schema/internal/index.d.ts +173 -173
- package/System.Xml.Serialization/internal/index.d.ts +200 -200
- package/System.Xml.XPath/internal/index.d.ts +28 -28
- package/System.Xml.Xsl/internal/index.d.ts +53 -53
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +72 -72
- package/__internal/extensions/index.d.ts +415 -414
- package/package.json +1 -1
|
@@ -340,8 +340,8 @@ export type WriteStreamClosedEventHandler = (sender: unknown, e: WriteStreamClos
|
|
|
340
340
|
export interface IAuthenticationModule$instance {
|
|
341
341
|
readonly canPreAuthenticate: boolean;
|
|
342
342
|
readonly authenticationType: string;
|
|
343
|
-
authenticate(challenge: string, request: WebRequest, credentials: ICredentials): Authorization;
|
|
344
|
-
preAuthenticate(request: WebRequest, credentials: ICredentials): Authorization;
|
|
343
|
+
authenticate(challenge: string, request: WebRequest, credentials: ICredentials): Authorization | undefined;
|
|
344
|
+
preAuthenticate(request: WebRequest, credentials: ICredentials): Authorization | undefined;
|
|
345
345
|
}
|
|
346
346
|
|
|
347
347
|
|
|
@@ -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): Uri;
|
|
374
|
-
isBypassed(host: Uri): boolean;
|
|
373
|
+
getProxy(destination: Uri | undefined): Uri | undefined;
|
|
374
|
+
isBypassed(host: Uri | undefined): boolean;
|
|
375
375
|
}
|
|
376
376
|
|
|
377
377
|
|
|
@@ -400,14 +400,14 @@ 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 | undefined;
|
|
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
|
}
|
|
407
407
|
|
|
408
408
|
|
|
409
409
|
export const IPNetwork: {
|
|
410
|
-
new(baseAddress: IPAddress, prefixLength: int): IPNetwork
|
|
410
|
+
new(baseAddress: IPAddress, prefixLength: int): IPNetwork;
|
|
411
411
|
parse(utf8Text: ReadOnlySpan_1<System_Internal.Byte>): IPNetwork;
|
|
412
412
|
parse(s: ReadOnlySpan_1<System_Internal.Char>): IPNetwork;
|
|
413
413
|
parse(s: string): IPNetwork;
|
|
@@ -441,12 +441,12 @@ export interface AuthenticationManager$instance {
|
|
|
441
441
|
|
|
442
442
|
|
|
443
443
|
export const AuthenticationManager: {
|
|
444
|
-
new(): AuthenticationManager
|
|
445
|
-
credentialPolicy: ICredentialPolicy;
|
|
444
|
+
new(): AuthenticationManager;
|
|
445
|
+
credentialPolicy: ICredentialPolicy | undefined;
|
|
446
446
|
readonly customTargetNameDictionary: StringDictionary;
|
|
447
447
|
readonly registeredModules: IEnumerator;
|
|
448
|
-
authenticate(challenge: string, request: WebRequest, credentials: ICredentials): Authorization;
|
|
449
|
-
preAuthenticate(request: WebRequest, credentials: ICredentials): Authorization;
|
|
448
|
+
authenticate(challenge: string, request: WebRequest, credentials: ICredentials): Authorization | undefined;
|
|
449
|
+
preAuthenticate(request: WebRequest, credentials: ICredentials): Authorization | undefined;
|
|
450
450
|
register(authenticationModule: IAuthenticationModule): void;
|
|
451
451
|
unregister(authenticationModule: IAuthenticationModule): void;
|
|
452
452
|
unregister(authenticationScheme: string): void;
|
|
@@ -457,17 +457,17 @@ export type AuthenticationManager = AuthenticationManager$instance;
|
|
|
457
457
|
|
|
458
458
|
export interface Authorization$instance {
|
|
459
459
|
readonly complete: boolean;
|
|
460
|
-
readonly connectionGroupId: string;
|
|
460
|
+
readonly connectionGroupId: string | undefined;
|
|
461
461
|
readonly message: string;
|
|
462
462
|
mutuallyAuthenticated: boolean;
|
|
463
|
-
protectionRealm: string[];
|
|
463
|
+
protectionRealm: string[] | undefined;
|
|
464
464
|
}
|
|
465
465
|
|
|
466
466
|
|
|
467
467
|
export const Authorization: {
|
|
468
|
-
new(token: string): Authorization
|
|
469
|
-
new(token: string, finished: boolean): Authorization
|
|
470
|
-
new(token: string, finished: boolean, connectionGroupId: string): Authorization
|
|
468
|
+
new(token: string | undefined): Authorization;
|
|
469
|
+
new(token: string | undefined, finished: boolean): Authorization;
|
|
470
|
+
new(token: string | undefined, finished: boolean, connectionGroupId: string | undefined): Authorization;
|
|
471
471
|
};
|
|
472
472
|
|
|
473
473
|
|
|
@@ -475,7 +475,7 @@ export type Authorization = Authorization$instance;
|
|
|
475
475
|
|
|
476
476
|
export interface Cookie$instance {
|
|
477
477
|
comment: string;
|
|
478
|
-
commentUri: Uri;
|
|
478
|
+
commentUri: Uri | undefined;
|
|
479
479
|
discard: boolean;
|
|
480
480
|
domain: string;
|
|
481
481
|
expired: boolean;
|
|
@@ -495,10 +495,10 @@ export interface Cookie$instance {
|
|
|
495
495
|
|
|
496
496
|
|
|
497
497
|
export const Cookie: {
|
|
498
|
-
new(): Cookie
|
|
499
|
-
new(name: string, value: string): Cookie
|
|
500
|
-
new(name: string, value: string, path: string): Cookie
|
|
501
|
-
new(name: string, value: string, path: string, domain: string): Cookie
|
|
498
|
+
new(): Cookie;
|
|
499
|
+
new(name: string, value: string | undefined): Cookie;
|
|
500
|
+
new(name: string, value: string, path: string): Cookie;
|
|
501
|
+
new(name: string, value: string, path: string, domain: string): Cookie;
|
|
502
502
|
};
|
|
503
503
|
|
|
504
504
|
|
|
@@ -523,7 +523,7 @@ export interface CookieCollection$instance {
|
|
|
523
523
|
|
|
524
524
|
|
|
525
525
|
export const CookieCollection: {
|
|
526
|
-
new(): CookieCollection
|
|
526
|
+
new(): CookieCollection;
|
|
527
527
|
};
|
|
528
528
|
|
|
529
529
|
|
|
@@ -555,9 +555,9 @@ export interface CookieContainer$instance {
|
|
|
555
555
|
|
|
556
556
|
|
|
557
557
|
export const CookieContainer: {
|
|
558
|
-
new(): CookieContainer
|
|
559
|
-
new(capacity: int): CookieContainer
|
|
560
|
-
new(capacity: int, perDomainCapacity: int, maxCookieSize: int): CookieContainer
|
|
558
|
+
new(): CookieContainer;
|
|
559
|
+
new(capacity: int): CookieContainer;
|
|
560
|
+
new(capacity: int, perDomainCapacity: int, maxCookieSize: int): CookieContainer;
|
|
561
561
|
readonly defaultCookieLimit: int;
|
|
562
562
|
readonly defaultPerDomainCookieLimit: int;
|
|
563
563
|
readonly defaultCookieLengthLimit: int;
|
|
@@ -572,9 +572,9 @@ export interface CookieException$instance extends FormatException {
|
|
|
572
572
|
|
|
573
573
|
|
|
574
574
|
export const CookieException: {
|
|
575
|
-
new(): CookieException
|
|
576
|
-
new(message: string): CookieException
|
|
577
|
-
new(message: string, innerException: Exception): CookieException
|
|
575
|
+
new(): CookieException;
|
|
576
|
+
new(message: string): CookieException;
|
|
577
|
+
new(message: string, innerException: Exception): CookieException;
|
|
578
578
|
};
|
|
579
579
|
|
|
580
580
|
|
|
@@ -597,7 +597,7 @@ export interface CredentialCache$instance {
|
|
|
597
597
|
|
|
598
598
|
|
|
599
599
|
export const CredentialCache: {
|
|
600
|
-
new(): CredentialCache
|
|
600
|
+
new(): CredentialCache;
|
|
601
601
|
readonly defaultCredentials: ICredentials;
|
|
602
602
|
readonly defaultNetworkCredentials: NetworkCredential;
|
|
603
603
|
};
|
|
@@ -625,8 +625,8 @@ export interface DnsEndPoint$instance extends EndPoint {
|
|
|
625
625
|
|
|
626
626
|
|
|
627
627
|
export const DnsEndPoint: {
|
|
628
|
-
new(host: string, port: int): DnsEndPoint
|
|
629
|
-
new(host: string, port: int, addressFamily: AddressFamily): DnsEndPoint
|
|
628
|
+
new(host: string, port: int): DnsEndPoint;
|
|
629
|
+
new(host: string, port: int, addressFamily: AddressFamily): DnsEndPoint;
|
|
630
630
|
};
|
|
631
631
|
|
|
632
632
|
|
|
@@ -638,7 +638,7 @@ export interface DownloadDataCompletedEventArgs$instance extends AsyncCompletedE
|
|
|
638
638
|
|
|
639
639
|
|
|
640
640
|
export const DownloadDataCompletedEventArgs: {
|
|
641
|
-
new(): DownloadDataCompletedEventArgs
|
|
641
|
+
new(): DownloadDataCompletedEventArgs;
|
|
642
642
|
};
|
|
643
643
|
|
|
644
644
|
|
|
@@ -651,7 +651,7 @@ export interface DownloadProgressChangedEventArgs$instance extends ProgressChang
|
|
|
651
651
|
|
|
652
652
|
|
|
653
653
|
export const DownloadProgressChangedEventArgs: {
|
|
654
|
-
new(): DownloadProgressChangedEventArgs
|
|
654
|
+
new(): DownloadProgressChangedEventArgs;
|
|
655
655
|
};
|
|
656
656
|
|
|
657
657
|
|
|
@@ -663,7 +663,7 @@ export interface DownloadStringCompletedEventArgs$instance extends AsyncComplete
|
|
|
663
663
|
|
|
664
664
|
|
|
665
665
|
export const DownloadStringCompletedEventArgs: {
|
|
666
|
-
new(): DownloadStringCompletedEventArgs
|
|
666
|
+
new(): DownloadStringCompletedEventArgs;
|
|
667
667
|
};
|
|
668
668
|
|
|
669
669
|
|
|
@@ -683,14 +683,14 @@ export const EndPoint: {
|
|
|
683
683
|
export type EndPoint = EndPoint$instance;
|
|
684
684
|
|
|
685
685
|
export interface FileWebRequest$instance extends WebRequest$instance {
|
|
686
|
-
connectionGroupName: string;
|
|
686
|
+
connectionGroupName: string | undefined;
|
|
687
687
|
contentLength: long;
|
|
688
688
|
contentType: string;
|
|
689
689
|
credentials: ICredentials;
|
|
690
690
|
readonly headers: WebHeaderCollection;
|
|
691
691
|
method: string;
|
|
692
692
|
preAuthenticate: boolean;
|
|
693
|
-
proxy: IWebProxy;
|
|
693
|
+
proxy: IWebProxy | undefined;
|
|
694
694
|
readonly requestUri: Uri;
|
|
695
695
|
timeout: int;
|
|
696
696
|
useDefaultCredentials: boolean;
|
|
@@ -710,7 +710,7 @@ export interface FileWebRequest$instance extends WebRequest$instance {
|
|
|
710
710
|
|
|
711
711
|
|
|
712
712
|
export const FileWebRequest: {
|
|
713
|
-
new(): FileWebRequest
|
|
713
|
+
new(): FileWebRequest;
|
|
714
714
|
};
|
|
715
715
|
|
|
716
716
|
|
|
@@ -737,7 +737,7 @@ export interface FileWebResponse$instance extends WebResponse$instance {
|
|
|
737
737
|
|
|
738
738
|
|
|
739
739
|
export const FileWebResponse: {
|
|
740
|
-
new(): FileWebResponse
|
|
740
|
+
new(): FileWebResponse;
|
|
741
741
|
};
|
|
742
742
|
|
|
743
743
|
|
|
@@ -754,7 +754,7 @@ export type FileWebResponse = FileWebResponse$instance & __FileWebResponse$views
|
|
|
754
754
|
export interface FtpWebRequest$instance extends WebRequest$instance {
|
|
755
755
|
cachePolicy: RequestCachePolicy;
|
|
756
756
|
clientCertificates: X509CertificateCollection;
|
|
757
|
-
connectionGroupName: string;
|
|
757
|
+
connectionGroupName: string | undefined;
|
|
758
758
|
contentLength: long;
|
|
759
759
|
contentOffset: long;
|
|
760
760
|
contentType: string;
|
|
@@ -764,9 +764,9 @@ export interface FtpWebRequest$instance extends WebRequest$instance {
|
|
|
764
764
|
keepAlive: boolean;
|
|
765
765
|
method: string;
|
|
766
766
|
preAuthenticate: boolean;
|
|
767
|
-
proxy: IWebProxy;
|
|
767
|
+
proxy: IWebProxy | undefined;
|
|
768
768
|
readWriteTimeout: int;
|
|
769
|
-
renameTo: string;
|
|
769
|
+
renameTo: string | undefined;
|
|
770
770
|
readonly requestUri: Uri;
|
|
771
771
|
readonly servicePoint: ServicePoint;
|
|
772
772
|
timeout: int;
|
|
@@ -774,10 +774,10 @@ export interface FtpWebRequest$instance extends WebRequest$instance {
|
|
|
774
774
|
useDefaultCredentials: boolean;
|
|
775
775
|
usePassive: boolean;
|
|
776
776
|
abort(): void;
|
|
777
|
-
beginGetRequestStream(callback: AsyncCallback, state: unknown): IAsyncResult;
|
|
778
|
-
beginGetResponse(callback: AsyncCallback, state: unknown): IAsyncResult;
|
|
779
|
-
endGetRequestStream(asyncResult: IAsyncResult): Stream;
|
|
780
|
-
endGetResponse(asyncResult: IAsyncResult): WebResponse;
|
|
777
|
+
beginGetRequestStream(callback: AsyncCallback | undefined, state: unknown | undefined): IAsyncResult;
|
|
778
|
+
beginGetResponse(callback: AsyncCallback | undefined, state: unknown | undefined): IAsyncResult;
|
|
779
|
+
endGetRequestStream(asyncResult: IAsyncResult | undefined): Stream;
|
|
780
|
+
endGetResponse(asyncResult: IAsyncResult | undefined): WebResponse;
|
|
781
781
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
782
782
|
getRequestStream(): Stream;
|
|
783
783
|
getResponse(): WebResponse;
|
|
@@ -785,8 +785,8 @@ export interface FtpWebRequest$instance extends WebRequest$instance {
|
|
|
785
785
|
|
|
786
786
|
|
|
787
787
|
export const FtpWebRequest: {
|
|
788
|
-
new(): FtpWebRequest
|
|
789
|
-
defaultCachePolicy: RequestCachePolicy;
|
|
788
|
+
new(): FtpWebRequest;
|
|
789
|
+
defaultCachePolicy: RequestCachePolicy | undefined;
|
|
790
790
|
};
|
|
791
791
|
|
|
792
792
|
|
|
@@ -800,16 +800,16 @@ export type FtpWebRequest = FtpWebRequest$instance & __FtpWebRequest$views;
|
|
|
800
800
|
|
|
801
801
|
|
|
802
802
|
export interface FtpWebResponse$instance extends WebResponse$instance {
|
|
803
|
-
readonly bannerMessage: string;
|
|
803
|
+
readonly bannerMessage: string | undefined;
|
|
804
804
|
readonly contentLength: long;
|
|
805
|
-
readonly exitMessage: string;
|
|
805
|
+
readonly exitMessage: string | undefined;
|
|
806
806
|
readonly headers: WebHeaderCollection;
|
|
807
807
|
readonly lastModified: DateTime;
|
|
808
808
|
readonly responseUri: Uri;
|
|
809
809
|
readonly statusCode: FtpStatusCode;
|
|
810
810
|
readonly statusDescription: string;
|
|
811
811
|
readonly supportsHeaders: boolean;
|
|
812
|
-
readonly welcomeMessage: string;
|
|
812
|
+
readonly welcomeMessage: string | undefined;
|
|
813
813
|
close(): void;
|
|
814
814
|
dispose(): void;
|
|
815
815
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
@@ -818,7 +818,7 @@ export interface FtpWebResponse$instance extends WebResponse$instance {
|
|
|
818
818
|
|
|
819
819
|
|
|
820
820
|
export const FtpWebResponse: {
|
|
821
|
-
new(): FtpWebResponse
|
|
821
|
+
new(): FtpWebResponse;
|
|
822
822
|
};
|
|
823
823
|
|
|
824
824
|
|
|
@@ -837,7 +837,7 @@ export interface GlobalProxySelection$instance {
|
|
|
837
837
|
|
|
838
838
|
|
|
839
839
|
export const GlobalProxySelection: {
|
|
840
|
-
new(): GlobalProxySelection
|
|
840
|
+
new(): GlobalProxySelection;
|
|
841
841
|
select: IWebProxy;
|
|
842
842
|
getEmptyWebProxy(): IWebProxy;
|
|
843
843
|
};
|
|
@@ -847,14 +847,14 @@ export type GlobalProxySelection = GlobalProxySelection$instance;
|
|
|
847
847
|
|
|
848
848
|
export interface HttpListener$instance {
|
|
849
849
|
authenticationSchemes: AuthenticationSchemes;
|
|
850
|
-
authenticationSchemeSelectorDelegate: AuthenticationSchemeSelector;
|
|
850
|
+
authenticationSchemeSelectorDelegate: AuthenticationSchemeSelector | undefined;
|
|
851
851
|
readonly defaultServiceNames: ServiceNameCollection;
|
|
852
852
|
extendedProtectionPolicy: ExtendedProtectionPolicy;
|
|
853
|
-
extendedProtectionSelectorDelegate: HttpListener_ExtendedProtectionSelector;
|
|
853
|
+
extendedProtectionSelectorDelegate: HttpListener_ExtendedProtectionSelector | undefined;
|
|
854
854
|
ignoreWriteExceptions: boolean;
|
|
855
855
|
readonly isListening: boolean;
|
|
856
856
|
readonly prefixes: HttpListenerPrefixCollection;
|
|
857
|
-
realm: string;
|
|
857
|
+
realm: string | undefined;
|
|
858
858
|
readonly timeoutManager: HttpListenerTimeoutManager;
|
|
859
859
|
unsafeConnectionNtlmAuthentication: boolean;
|
|
860
860
|
abort(): void;
|
|
@@ -869,7 +869,7 @@ export interface HttpListener$instance {
|
|
|
869
869
|
|
|
870
870
|
|
|
871
871
|
export const HttpListener: {
|
|
872
|
-
new(): HttpListener
|
|
872
|
+
new(): HttpListener;
|
|
873
873
|
readonly isSupported: boolean;
|
|
874
874
|
};
|
|
875
875
|
|
|
@@ -889,7 +889,7 @@ export interface HttpListenerBasicIdentity$instance extends GenericIdentity {
|
|
|
889
889
|
|
|
890
890
|
|
|
891
891
|
export const HttpListenerBasicIdentity: {
|
|
892
|
-
new(username: string, password: string): HttpListenerBasicIdentity
|
|
892
|
+
new(username: string, password: string): HttpListenerBasicIdentity;
|
|
893
893
|
};
|
|
894
894
|
|
|
895
895
|
|
|
@@ -897,8 +897,6 @@ export interface __HttpListenerBasicIdentity$views {
|
|
|
897
897
|
As_IIdentity(): System_Security_Principal_Internal.IIdentity$instance;
|
|
898
898
|
}
|
|
899
899
|
|
|
900
|
-
export interface HttpListenerBasicIdentity$instance extends System_Security_Principal_Internal.IIdentity$instance {}
|
|
901
|
-
|
|
902
900
|
export type HttpListenerBasicIdentity = HttpListenerBasicIdentity$instance & __HttpListenerBasicIdentity$views;
|
|
903
901
|
|
|
904
902
|
|
|
@@ -906,15 +904,15 @@ export interface HttpListenerContext$instance {
|
|
|
906
904
|
readonly request: HttpListenerRequest;
|
|
907
905
|
readonly response: HttpListenerResponse;
|
|
908
906
|
readonly user: IPrincipal;
|
|
909
|
-
acceptWebSocketAsync(subProtocol: string): Task_1<HttpListenerWebSocketContext>;
|
|
910
|
-
acceptWebSocketAsync(subProtocol: string, keepAliveInterval: TimeSpan): Task_1<HttpListenerWebSocketContext>;
|
|
911
|
-
acceptWebSocketAsync(subProtocol: string, receiveBufferSize: int, keepAliveInterval: TimeSpan): Task_1<HttpListenerWebSocketContext>;
|
|
912
|
-
acceptWebSocketAsync(subProtocol: string, receiveBufferSize: int, keepAliveInterval: TimeSpan, internalBuffer: ArraySegment_1<System_Internal.Byte>): Task_1<HttpListenerWebSocketContext>;
|
|
907
|
+
acceptWebSocketAsync(subProtocol: string | undefined): Task_1<HttpListenerWebSocketContext>;
|
|
908
|
+
acceptWebSocketAsync(subProtocol: string | undefined, keepAliveInterval: TimeSpan): Task_1<HttpListenerWebSocketContext>;
|
|
909
|
+
acceptWebSocketAsync(subProtocol: string | undefined, receiveBufferSize: int, keepAliveInterval: TimeSpan): Task_1<HttpListenerWebSocketContext>;
|
|
910
|
+
acceptWebSocketAsync(subProtocol: string | undefined, receiveBufferSize: int, keepAliveInterval: TimeSpan, internalBuffer: ArraySegment_1<System_Internal.Byte>): Task_1<HttpListenerWebSocketContext>;
|
|
913
911
|
}
|
|
914
912
|
|
|
915
913
|
|
|
916
914
|
export const HttpListenerContext: {
|
|
917
|
-
new(): HttpListenerContext
|
|
915
|
+
new(): HttpListenerContext;
|
|
918
916
|
};
|
|
919
917
|
|
|
920
918
|
|
|
@@ -927,9 +925,9 @@ export interface HttpListenerException$instance extends Win32Exception {
|
|
|
927
925
|
|
|
928
926
|
|
|
929
927
|
export const HttpListenerException: {
|
|
930
|
-
new(): HttpListenerException
|
|
931
|
-
new(errorCode: int): HttpListenerException
|
|
932
|
-
new(errorCode: int, message: string): HttpListenerException
|
|
928
|
+
new(): HttpListenerException;
|
|
929
|
+
new(errorCode: int): HttpListenerException;
|
|
930
|
+
new(errorCode: int, message: string): HttpListenerException;
|
|
933
931
|
};
|
|
934
932
|
|
|
935
933
|
|
|
@@ -955,7 +953,7 @@ export interface HttpListenerPrefixCollection$instance {
|
|
|
955
953
|
|
|
956
954
|
|
|
957
955
|
export const HttpListenerPrefixCollection: {
|
|
958
|
-
new(): HttpListenerPrefixCollection
|
|
956
|
+
new(): HttpListenerPrefixCollection;
|
|
959
957
|
};
|
|
960
958
|
|
|
961
959
|
|
|
@@ -969,7 +967,7 @@ export type HttpListenerPrefixCollection = HttpListenerPrefixCollection$instance
|
|
|
969
967
|
|
|
970
968
|
|
|
971
969
|
export interface HttpListenerRequest$instance {
|
|
972
|
-
readonly acceptTypes: string[];
|
|
970
|
+
readonly acceptTypes: string[] | undefined;
|
|
973
971
|
readonly clientCertificateError: int;
|
|
974
972
|
readonly contentEncoding: Encoding;
|
|
975
973
|
readonly contentLength64: long;
|
|
@@ -977,7 +975,7 @@ export interface HttpListenerRequest$instance {
|
|
|
977
975
|
readonly cookies: CookieCollection;
|
|
978
976
|
readonly hasEntityBody: boolean;
|
|
979
977
|
readonly headers: NameValueCollection;
|
|
980
|
-
readonly httpMethod: string;
|
|
978
|
+
readonly httpMethod: string | undefined;
|
|
981
979
|
readonly inputStream: Stream;
|
|
982
980
|
readonly isAuthenticated: boolean;
|
|
983
981
|
readonly isLocal: boolean;
|
|
@@ -987,26 +985,26 @@ export interface HttpListenerRequest$instance {
|
|
|
987
985
|
readonly localEndPoint: IPEndPoint;
|
|
988
986
|
readonly protocolVersion: Version;
|
|
989
987
|
readonly queryString: NameValueCollection;
|
|
990
|
-
readonly rawUrl: string;
|
|
988
|
+
readonly rawUrl: string | undefined;
|
|
991
989
|
readonly remoteEndPoint: IPEndPoint;
|
|
992
990
|
readonly requestTraceIdentifier: Guid;
|
|
993
|
-
readonly serviceName: string;
|
|
991
|
+
readonly serviceName: string | undefined;
|
|
994
992
|
readonly transportContext: TransportContext;
|
|
995
|
-
readonly url: Uri;
|
|
996
|
-
readonly urlReferrer: Uri;
|
|
993
|
+
readonly url: Uri | undefined;
|
|
994
|
+
readonly urlReferrer: Uri | undefined;
|
|
997
995
|
readonly userAgent: string;
|
|
998
996
|
readonly userHostAddress: string;
|
|
999
997
|
readonly userHostName: string;
|
|
1000
|
-
readonly userLanguages: string[];
|
|
1001
|
-
beginGetClientCertificate(requestCallback: AsyncCallback, state: unknown): IAsyncResult;
|
|
1002
|
-
endGetClientCertificate(asyncResult: IAsyncResult): X509Certificate2;
|
|
1003
|
-
getClientCertificate(): X509Certificate2;
|
|
1004
|
-
getClientCertificateAsync(): Task_1<X509Certificate2>;
|
|
998
|
+
readonly userLanguages: string[] | undefined;
|
|
999
|
+
beginGetClientCertificate(requestCallback: AsyncCallback | undefined, state: unknown | undefined): IAsyncResult;
|
|
1000
|
+
endGetClientCertificate(asyncResult: IAsyncResult | undefined): X509Certificate2 | undefined;
|
|
1001
|
+
getClientCertificate(): X509Certificate2 | undefined;
|
|
1002
|
+
getClientCertificateAsync(): Task_1<X509Certificate2 | undefined>;
|
|
1005
1003
|
}
|
|
1006
1004
|
|
|
1007
1005
|
|
|
1008
1006
|
export const HttpListenerRequest: {
|
|
1009
|
-
new(): HttpListenerRequest
|
|
1007
|
+
new(): HttpListenerRequest;
|
|
1010
1008
|
};
|
|
1011
1009
|
|
|
1012
1010
|
|
|
@@ -1021,7 +1019,7 @@ export interface HttpListenerResponse$instance {
|
|
|
1021
1019
|
keepAlive: boolean;
|
|
1022
1020
|
readonly outputStream: Stream;
|
|
1023
1021
|
protocolVersion: Version;
|
|
1024
|
-
redirectLocation: string;
|
|
1022
|
+
redirectLocation: string | undefined;
|
|
1025
1023
|
sendChunked: boolean;
|
|
1026
1024
|
statusCode: int;
|
|
1027
1025
|
statusDescription: string;
|
|
@@ -1038,7 +1036,7 @@ export interface HttpListenerResponse$instance {
|
|
|
1038
1036
|
|
|
1039
1037
|
|
|
1040
1038
|
export const HttpListenerResponse: {
|
|
1041
|
-
new(): HttpListenerResponse
|
|
1039
|
+
new(): HttpListenerResponse;
|
|
1042
1040
|
};
|
|
1043
1041
|
|
|
1044
1042
|
|
|
@@ -1062,7 +1060,7 @@ export interface HttpListenerTimeoutManager$instance {
|
|
|
1062
1060
|
|
|
1063
1061
|
|
|
1064
1062
|
export const HttpListenerTimeoutManager: {
|
|
1065
|
-
new(): HttpListenerTimeoutManager
|
|
1063
|
+
new(): HttpListenerTimeoutManager;
|
|
1066
1064
|
};
|
|
1067
1065
|
|
|
1068
1066
|
|
|
@@ -1077,10 +1075,10 @@ export interface HttpWebRequest$instance extends WebRequest$instance {
|
|
|
1077
1075
|
automaticDecompression: DecompressionMethods;
|
|
1078
1076
|
clientCertificates: X509CertificateCollection;
|
|
1079
1077
|
connection: string;
|
|
1080
|
-
connectionGroupName: string;
|
|
1078
|
+
connectionGroupName: string | undefined;
|
|
1081
1079
|
contentLength: long;
|
|
1082
1080
|
contentType: string;
|
|
1083
|
-
continueDelegate: HttpContinueDelegate;
|
|
1081
|
+
continueDelegate: HttpContinueDelegate | undefined;
|
|
1084
1082
|
continueTimeout: int;
|
|
1085
1083
|
cookieContainer: CookieContainer;
|
|
1086
1084
|
credentials: ICredentials;
|
|
@@ -1098,12 +1096,12 @@ export interface HttpWebRequest$instance extends WebRequest$instance {
|
|
|
1098
1096
|
pipelined: boolean;
|
|
1099
1097
|
preAuthenticate: boolean;
|
|
1100
1098
|
protocolVersion: Version;
|
|
1101
|
-
proxy: IWebProxy;
|
|
1099
|
+
proxy: IWebProxy | undefined;
|
|
1102
1100
|
readWriteTimeout: int;
|
|
1103
|
-
referer: string;
|
|
1101
|
+
referer: string | undefined;
|
|
1104
1102
|
readonly requestUri: Uri;
|
|
1105
1103
|
sendChunked: boolean;
|
|
1106
|
-
serverCertificateValidationCallback: RemoteCertificateValidationCallback;
|
|
1104
|
+
serverCertificateValidationCallback: RemoteCertificateValidationCallback | undefined;
|
|
1107
1105
|
readonly servicePoint: ServicePoint;
|
|
1108
1106
|
readonly supportsCookieContainer: boolean;
|
|
1109
1107
|
timeout: int;
|
|
@@ -1116,14 +1114,14 @@ export interface HttpWebRequest$instance extends WebRequest$instance {
|
|
|
1116
1114
|
addRange(from_: long, to: long): void;
|
|
1117
1115
|
addRange(range: int): void;
|
|
1118
1116
|
addRange(range: long): void;
|
|
1119
|
-
addRange(rangeSpecifier: string, from_: int, to: int): void;
|
|
1120
|
-
addRange(rangeSpecifier: string, from_: long, to: long): void;
|
|
1121
|
-
addRange(rangeSpecifier: string, range: int): void;
|
|
1122
|
-
addRange(rangeSpecifier: string, range: long): void;
|
|
1123
|
-
beginGetRequestStream(callback: AsyncCallback, state: unknown): IAsyncResult;
|
|
1124
|
-
beginGetResponse(callback: AsyncCallback, state: unknown): IAsyncResult;
|
|
1125
|
-
endGetRequestStream(asyncResult: IAsyncResult): Stream;
|
|
1126
|
-
endGetResponse(asyncResult: IAsyncResult): WebResponse;
|
|
1117
|
+
addRange(rangeSpecifier: string | undefined, from_: int, to: int): void;
|
|
1118
|
+
addRange(rangeSpecifier: string | undefined, from_: long, to: long): void;
|
|
1119
|
+
addRange(rangeSpecifier: string | undefined, range: int): void;
|
|
1120
|
+
addRange(rangeSpecifier: string | undefined, range: long): void;
|
|
1121
|
+
beginGetRequestStream(callback: AsyncCallback | undefined, state: unknown | undefined): IAsyncResult;
|
|
1122
|
+
beginGetResponse(callback: AsyncCallback | undefined, state: unknown | undefined): IAsyncResult;
|
|
1123
|
+
endGetRequestStream(asyncResult: IAsyncResult | undefined): Stream;
|
|
1124
|
+
endGetResponse(asyncResult: IAsyncResult | undefined): WebResponse;
|
|
1127
1125
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
1128
1126
|
getRequestStream(): Stream;
|
|
1129
1127
|
getResponse(): WebResponse;
|
|
@@ -1131,10 +1129,10 @@ export interface HttpWebRequest$instance extends WebRequest$instance {
|
|
|
1131
1129
|
|
|
1132
1130
|
|
|
1133
1131
|
export const HttpWebRequest: {
|
|
1134
|
-
new(): HttpWebRequest
|
|
1132
|
+
new(): HttpWebRequest;
|
|
1135
1133
|
defaultMaximumResponseHeadersLength: int;
|
|
1136
1134
|
defaultMaximumErrorResponseLength: int;
|
|
1137
|
-
defaultCachePolicy: RequestCachePolicy;
|
|
1135
|
+
defaultCachePolicy: RequestCachePolicy | undefined;
|
|
1138
1136
|
};
|
|
1139
1137
|
|
|
1140
1138
|
|
|
@@ -1148,7 +1146,7 @@ export type HttpWebRequest = HttpWebRequest$instance & __HttpWebRequest$views;
|
|
|
1148
1146
|
|
|
1149
1147
|
|
|
1150
1148
|
export interface HttpWebResponse$instance extends WebResponse$instance {
|
|
1151
|
-
readonly characterSet: string;
|
|
1149
|
+
readonly characterSet: string | undefined;
|
|
1152
1150
|
readonly contentEncoding: string;
|
|
1153
1151
|
readonly contentLength: long;
|
|
1154
1152
|
readonly contentType: string;
|
|
@@ -1172,7 +1170,7 @@ export interface HttpWebResponse$instance extends WebResponse$instance {
|
|
|
1172
1170
|
|
|
1173
1171
|
|
|
1174
1172
|
export const HttpWebResponse: {
|
|
1175
|
-
new(): HttpWebResponse
|
|
1173
|
+
new(): HttpWebResponse;
|
|
1176
1174
|
};
|
|
1177
1175
|
|
|
1178
1176
|
|
|
@@ -1201,7 +1199,7 @@ export interface IPAddress$instance {
|
|
|
1201
1199
|
getHashCode(): int;
|
|
1202
1200
|
mapToIPv4(): IPAddress;
|
|
1203
1201
|
mapToIPv6(): IPAddress;
|
|
1204
|
-
toString(): string;
|
|
1202
|
+
toString(): string | undefined;
|
|
1205
1203
|
tryFormat(destination: Span_1<System_Internal.Char>, charsWritten: int): boolean;
|
|
1206
1204
|
tryFormat(utf8Destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1207
1205
|
tryWriteBytes(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
@@ -1209,11 +1207,11 @@ export interface IPAddress$instance {
|
|
|
1209
1207
|
|
|
1210
1208
|
|
|
1211
1209
|
export const IPAddress: {
|
|
1212
|
-
new(newAddress: long): IPAddress
|
|
1213
|
-
new(address: byte[], scopeid: long): IPAddress
|
|
1214
|
-
new(address: ReadOnlySpan_1<System_Internal.Byte>, scopeid: long): IPAddress
|
|
1215
|
-
new(address: byte[]): IPAddress
|
|
1216
|
-
new(address: ReadOnlySpan_1<System_Internal.Byte>): IPAddress
|
|
1210
|
+
new(newAddress: long): IPAddress;
|
|
1211
|
+
new(address: byte[], scopeid: long): IPAddress;
|
|
1212
|
+
new(address: ReadOnlySpan_1<System_Internal.Byte>, scopeid: long): IPAddress;
|
|
1213
|
+
new(address: byte[]): IPAddress;
|
|
1214
|
+
new(address: ReadOnlySpan_1<System_Internal.Byte>): IPAddress;
|
|
1217
1215
|
readonly any_: IPAddress;
|
|
1218
1216
|
readonly loopback: IPAddress;
|
|
1219
1217
|
readonly broadcast: IPAddress;
|
|
@@ -1233,8 +1231,8 @@ export const IPAddress: {
|
|
|
1233
1231
|
parse(utf8Text: ReadOnlySpan_1<System_Internal.Byte>): IPAddress;
|
|
1234
1232
|
parse(ipSpan: ReadOnlySpan_1<System_Internal.Char>): IPAddress;
|
|
1235
1233
|
parse(ipString: string): IPAddress;
|
|
1236
|
-
tryParse(utf8Text: ReadOnlySpan_1<System_Internal.Byte>, result: IPAddress): boolean;
|
|
1237
|
-
tryParse(ipSpan: ReadOnlySpan_1<System_Internal.Char>, address: IPAddress): boolean;
|
|
1234
|
+
tryParse(utf8Text: ReadOnlySpan_1<System_Internal.Byte>, result: IPAddress | undefined): boolean;
|
|
1235
|
+
tryParse(ipSpan: ReadOnlySpan_1<System_Internal.Char>, address: IPAddress | undefined): boolean;
|
|
1238
1236
|
tryParse(ipString: string, address: IPAddress): boolean;
|
|
1239
1237
|
};
|
|
1240
1238
|
|
|
@@ -1269,14 +1267,14 @@ export interface IPEndPoint$instance extends EndPoint {
|
|
|
1269
1267
|
|
|
1270
1268
|
|
|
1271
1269
|
export const IPEndPoint: {
|
|
1272
|
-
new(address: long, port: int): IPEndPoint
|
|
1273
|
-
new(address: IPAddress, port: int): IPEndPoint
|
|
1270
|
+
new(address: long, port: int): IPEndPoint;
|
|
1271
|
+
new(address: IPAddress, port: int): IPEndPoint;
|
|
1274
1272
|
readonly minPort: int;
|
|
1275
1273
|
readonly maxPort: int;
|
|
1276
1274
|
parse(s: ReadOnlySpan_1<System_Internal.Char>): IPEndPoint;
|
|
1277
1275
|
parse(s: string): IPEndPoint;
|
|
1278
|
-
tryParse(s: ReadOnlySpan_1<System_Internal.Char>, result: IPEndPoint): boolean;
|
|
1279
|
-
tryParse(s: string, result: IPEndPoint): boolean;
|
|
1276
|
+
tryParse(s: ReadOnlySpan_1<System_Internal.Char>, result: IPEndPoint | undefined): boolean;
|
|
1277
|
+
tryParse(s: string, result: IPEndPoint | undefined): boolean;
|
|
1280
1278
|
};
|
|
1281
1279
|
|
|
1282
1280
|
|
|
@@ -1290,7 +1288,7 @@ export interface IPHostEntry$instance {
|
|
|
1290
1288
|
|
|
1291
1289
|
|
|
1292
1290
|
export const IPHostEntry: {
|
|
1293
|
-
new(): IPHostEntry
|
|
1291
|
+
new(): IPHostEntry;
|
|
1294
1292
|
};
|
|
1295
1293
|
|
|
1296
1294
|
|
|
@@ -1307,11 +1305,11 @@ export interface NetworkCredential$instance {
|
|
|
1307
1305
|
|
|
1308
1306
|
|
|
1309
1307
|
export const NetworkCredential: {
|
|
1310
|
-
new(): NetworkCredential
|
|
1311
|
-
new(userName: string, password: string): NetworkCredential
|
|
1312
|
-
new(userName: string, password: string, domain: string): NetworkCredential
|
|
1313
|
-
new(userName: string, password: SecureString): NetworkCredential
|
|
1314
|
-
new(userName: string, password: SecureString, domain: string): NetworkCredential
|
|
1308
|
+
new(): NetworkCredential;
|
|
1309
|
+
new(userName: string, password: string): NetworkCredential;
|
|
1310
|
+
new(userName: string, password: string, domain: string): NetworkCredential;
|
|
1311
|
+
new(userName: string, password: SecureString): NetworkCredential;
|
|
1312
|
+
new(userName: string, password: SecureString, domain: string): NetworkCredential;
|
|
1315
1313
|
};
|
|
1316
1314
|
|
|
1317
1315
|
|
|
@@ -1329,7 +1327,7 @@ export interface OpenReadCompletedEventArgs$instance extends AsyncCompletedEvent
|
|
|
1329
1327
|
|
|
1330
1328
|
|
|
1331
1329
|
export const OpenReadCompletedEventArgs: {
|
|
1332
|
-
new(): OpenReadCompletedEventArgs
|
|
1330
|
+
new(): OpenReadCompletedEventArgs;
|
|
1333
1331
|
};
|
|
1334
1332
|
|
|
1335
1333
|
|
|
@@ -1341,7 +1339,7 @@ export interface OpenWriteCompletedEventArgs$instance extends AsyncCompletedEven
|
|
|
1341
1339
|
|
|
1342
1340
|
|
|
1343
1341
|
export const OpenWriteCompletedEventArgs: {
|
|
1344
|
-
new(): OpenWriteCompletedEventArgs
|
|
1342
|
+
new(): OpenWriteCompletedEventArgs;
|
|
1345
1343
|
};
|
|
1346
1344
|
|
|
1347
1345
|
|
|
@@ -1352,7 +1350,7 @@ export interface PathList$instance {
|
|
|
1352
1350
|
|
|
1353
1351
|
|
|
1354
1352
|
export const PathList: {
|
|
1355
|
-
new(): PathList
|
|
1353
|
+
new(): PathList;
|
|
1356
1354
|
};
|
|
1357
1355
|
|
|
1358
1356
|
|
|
@@ -1364,8 +1362,8 @@ export interface ProtocolViolationException$instance extends InvalidOperationExc
|
|
|
1364
1362
|
|
|
1365
1363
|
|
|
1366
1364
|
export const ProtocolViolationException: {
|
|
1367
|
-
new(): ProtocolViolationException
|
|
1368
|
-
new(message: string): ProtocolViolationException
|
|
1365
|
+
new(): ProtocolViolationException;
|
|
1366
|
+
new(message: string): ProtocolViolationException;
|
|
1369
1367
|
};
|
|
1370
1368
|
|
|
1371
1369
|
|
|
@@ -1378,9 +1376,9 @@ export type ProtocolViolationException = ProtocolViolationException$instance & _
|
|
|
1378
1376
|
|
|
1379
1377
|
export interface ServicePoint$instance {
|
|
1380
1378
|
readonly address: Uri;
|
|
1381
|
-
bindIPEndPointDelegate: BindIPEndPoint;
|
|
1379
|
+
bindIPEndPointDelegate: BindIPEndPoint | undefined;
|
|
1382
1380
|
readonly certificate: X509Certificate;
|
|
1383
|
-
readonly clientCertificate: X509Certificate;
|
|
1381
|
+
readonly clientCertificate: X509Certificate | undefined;
|
|
1384
1382
|
connectionLeaseTimeout: int;
|
|
1385
1383
|
connectionLimit: int;
|
|
1386
1384
|
readonly connectionName: string;
|
|
@@ -1392,13 +1390,13 @@ export interface ServicePoint$instance {
|
|
|
1392
1390
|
receiveBufferSize: int;
|
|
1393
1391
|
readonly supportsPipelining: boolean;
|
|
1394
1392
|
useNagleAlgorithm: boolean;
|
|
1395
|
-
closeConnectionGroup(connectionGroupName: string): boolean;
|
|
1393
|
+
closeConnectionGroup(connectionGroupName: string | undefined): boolean;
|
|
1396
1394
|
setTcpKeepAlive(enabled: boolean, keepAliveTime: int, keepAliveInterval: int): void;
|
|
1397
1395
|
}
|
|
1398
1396
|
|
|
1399
1397
|
|
|
1400
1398
|
export const ServicePoint: {
|
|
1401
|
-
new(): ServicePoint
|
|
1399
|
+
new(): ServicePoint;
|
|
1402
1400
|
};
|
|
1403
1401
|
|
|
1404
1402
|
|
|
@@ -1409,7 +1407,7 @@ export interface ServicePointManager$instance {
|
|
|
1409
1407
|
|
|
1410
1408
|
|
|
1411
1409
|
export const ServicePointManager: {
|
|
1412
|
-
new(): ServicePointManager
|
|
1410
|
+
new(): ServicePointManager;
|
|
1413
1411
|
readonly defaultNonPersistentConnectionLimit: int;
|
|
1414
1412
|
readonly defaultPersistentConnectionLimit: int;
|
|
1415
1413
|
securityProtocol: SecurityProtocolType;
|
|
@@ -1420,13 +1418,13 @@ export const ServicePointManager: {
|
|
|
1420
1418
|
expect100Continue: boolean;
|
|
1421
1419
|
enableDnsRoundRobin: boolean;
|
|
1422
1420
|
dnsRefreshTimeout: int;
|
|
1423
|
-
serverCertificateValidationCallback: RemoteCertificateValidationCallback;
|
|
1421
|
+
serverCertificateValidationCallback: RemoteCertificateValidationCallback | undefined;
|
|
1424
1422
|
reusePort: boolean;
|
|
1425
1423
|
checkCertificateRevocationList: boolean;
|
|
1426
1424
|
readonly encryptionPolicy: EncryptionPolicy;
|
|
1427
|
-
findServicePoint(uriString: string, proxy: IWebProxy): ServicePoint;
|
|
1428
|
-
findServicePoint(address: Uri, proxy: IWebProxy): ServicePoint;
|
|
1429
|
-
findServicePoint(address: Uri): ServicePoint;
|
|
1425
|
+
findServicePoint(uriString: string | undefined, proxy: IWebProxy | undefined): ServicePoint | undefined;
|
|
1426
|
+
findServicePoint(address: Uri | undefined, proxy: IWebProxy | undefined): ServicePoint | undefined;
|
|
1427
|
+
findServicePoint(address: Uri | undefined): ServicePoint | undefined;
|
|
1430
1428
|
setTcpKeepAlive(enabled: boolean, keepAliveTime: int, keepAliveInterval: int): void;
|
|
1431
1429
|
};
|
|
1432
1430
|
|
|
@@ -1441,13 +1439,13 @@ export interface SocketAddress$instance {
|
|
|
1441
1439
|
equals(comparand: unknown): boolean;
|
|
1442
1440
|
equals(comparand: SocketAddress): boolean;
|
|
1443
1441
|
getHashCode(): int;
|
|
1444
|
-
toString(): string;
|
|
1442
|
+
toString(): string | undefined;
|
|
1445
1443
|
}
|
|
1446
1444
|
|
|
1447
1445
|
|
|
1448
1446
|
export const SocketAddress: {
|
|
1449
|
-
new(family: AddressFamily): SocketAddress
|
|
1450
|
-
new(family: AddressFamily, size: int): SocketAddress
|
|
1447
|
+
new(family: AddressFamily): SocketAddress;
|
|
1448
|
+
new(family: AddressFamily, size: int): SocketAddress;
|
|
1451
1449
|
getMaximumAddressSize(addressFamily: AddressFamily): int;
|
|
1452
1450
|
};
|
|
1453
1451
|
|
|
@@ -1479,7 +1477,7 @@ export interface UploadDataCompletedEventArgs$instance extends AsyncCompletedEve
|
|
|
1479
1477
|
|
|
1480
1478
|
|
|
1481
1479
|
export const UploadDataCompletedEventArgs: {
|
|
1482
|
-
new(): UploadDataCompletedEventArgs
|
|
1480
|
+
new(): UploadDataCompletedEventArgs;
|
|
1483
1481
|
};
|
|
1484
1482
|
|
|
1485
1483
|
|
|
@@ -1491,7 +1489,7 @@ export interface UploadFileCompletedEventArgs$instance extends AsyncCompletedEve
|
|
|
1491
1489
|
|
|
1492
1490
|
|
|
1493
1491
|
export const UploadFileCompletedEventArgs: {
|
|
1494
|
-
new(): UploadFileCompletedEventArgs
|
|
1492
|
+
new(): UploadFileCompletedEventArgs;
|
|
1495
1493
|
};
|
|
1496
1494
|
|
|
1497
1495
|
|
|
@@ -1506,7 +1504,7 @@ export interface UploadProgressChangedEventArgs$instance extends ProgressChanged
|
|
|
1506
1504
|
|
|
1507
1505
|
|
|
1508
1506
|
export const UploadProgressChangedEventArgs: {
|
|
1509
|
-
new(): UploadProgressChangedEventArgs
|
|
1507
|
+
new(): UploadProgressChangedEventArgs;
|
|
1510
1508
|
};
|
|
1511
1509
|
|
|
1512
1510
|
|
|
@@ -1518,7 +1516,7 @@ export interface UploadStringCompletedEventArgs$instance extends AsyncCompletedE
|
|
|
1518
1516
|
|
|
1519
1517
|
|
|
1520
1518
|
export const UploadStringCompletedEventArgs: {
|
|
1521
|
-
new(): UploadStringCompletedEventArgs
|
|
1519
|
+
new(): UploadStringCompletedEventArgs;
|
|
1522
1520
|
};
|
|
1523
1521
|
|
|
1524
1522
|
|
|
@@ -1530,7 +1528,7 @@ export interface UploadValuesCompletedEventArgs$instance extends AsyncCompletedE
|
|
|
1530
1528
|
|
|
1531
1529
|
|
|
1532
1530
|
export const UploadValuesCompletedEventArgs: {
|
|
1533
|
-
new(): UploadValuesCompletedEventArgs
|
|
1531
|
+
new(): UploadValuesCompletedEventArgs;
|
|
1534
1532
|
};
|
|
1535
1533
|
|
|
1536
1534
|
|
|
@@ -1545,96 +1543,96 @@ export interface WebClient$instance extends Component {
|
|
|
1545
1543
|
encoding: Encoding;
|
|
1546
1544
|
headers: WebHeaderCollection;
|
|
1547
1545
|
readonly isBusy: boolean;
|
|
1548
|
-
proxy: IWebProxy;
|
|
1546
|
+
proxy: IWebProxy | undefined;
|
|
1549
1547
|
queryString: NameValueCollection;
|
|
1550
|
-
readonly responseHeaders: WebHeaderCollection;
|
|
1548
|
+
readonly responseHeaders: WebHeaderCollection | undefined;
|
|
1551
1549
|
useDefaultCredentials: boolean;
|
|
1552
1550
|
cancelAsync(): void;
|
|
1553
1551
|
dispose(): void;
|
|
1554
1552
|
downloadData(address: string): byte[];
|
|
1555
1553
|
downloadData(address: Uri): byte[];
|
|
1556
1554
|
downloadDataAsync(address: Uri): void;
|
|
1557
|
-
downloadDataAsync(address: Uri, userToken: unknown): void;
|
|
1555
|
+
downloadDataAsync(address: Uri, userToken: unknown | undefined): void;
|
|
1558
1556
|
downloadDataTaskAsync(address: string): Task_1<byte[]>;
|
|
1559
1557
|
downloadDataTaskAsync(address: Uri): Task_1<byte[]>;
|
|
1560
1558
|
downloadFile(address: string, fileName: string): void;
|
|
1561
1559
|
downloadFile(address: Uri, fileName: string): void;
|
|
1562
1560
|
downloadFileAsync(address: Uri, fileName: string): void;
|
|
1563
|
-
downloadFileAsync(address: Uri, fileName: string, userToken: unknown): void;
|
|
1561
|
+
downloadFileAsync(address: Uri, fileName: string, userToken: unknown | undefined): void;
|
|
1564
1562
|
downloadFileTaskAsync(address: string, fileName: string): Task;
|
|
1565
1563
|
downloadFileTaskAsync(address: Uri, fileName: string): Task;
|
|
1566
1564
|
downloadString(address: string): string;
|
|
1567
1565
|
downloadString(address: Uri): string;
|
|
1568
1566
|
downloadStringAsync(address: Uri): void;
|
|
1569
|
-
downloadStringAsync(address: Uri, userToken: unknown): void;
|
|
1567
|
+
downloadStringAsync(address: Uri, userToken: unknown | undefined): void;
|
|
1570
1568
|
downloadStringTaskAsync(address: string): Task_1<System_Internal.String>;
|
|
1571
1569
|
downloadStringTaskAsync(address: Uri): Task_1<System_Internal.String>;
|
|
1572
1570
|
openRead(address: string): Stream;
|
|
1573
1571
|
openRead(address: Uri): Stream;
|
|
1574
1572
|
openReadAsync(address: Uri): void;
|
|
1575
|
-
openReadAsync(address: Uri, userToken: unknown): void;
|
|
1573
|
+
openReadAsync(address: Uri, userToken: unknown | undefined): void;
|
|
1576
1574
|
openReadTaskAsync(address: string): Task_1<Stream>;
|
|
1577
1575
|
openReadTaskAsync(address: Uri): Task_1<Stream>;
|
|
1578
1576
|
openWrite(address: string): Stream;
|
|
1579
1577
|
openWrite(address: Uri): Stream;
|
|
1580
|
-
openWrite(address: string, method: string): Stream;
|
|
1581
|
-
openWrite(address: Uri, method: string): Stream;
|
|
1578
|
+
openWrite(address: string, method: string | undefined): Stream;
|
|
1579
|
+
openWrite(address: Uri, method: string | undefined): Stream;
|
|
1582
1580
|
openWriteAsync(address: Uri): void;
|
|
1583
|
-
openWriteAsync(address: Uri, method: string): void;
|
|
1581
|
+
openWriteAsync(address: Uri, method: string | undefined): void;
|
|
1584
1582
|
openWriteAsync(address: Uri, method: string, userToken: unknown): void;
|
|
1585
1583
|
openWriteTaskAsync(address: string): Task_1<Stream>;
|
|
1586
1584
|
openWriteTaskAsync(address: Uri): Task_1<Stream>;
|
|
1587
|
-
openWriteTaskAsync(address: string, method: string): Task_1<Stream>;
|
|
1588
|
-
openWriteTaskAsync(address: Uri, method: string): Task_1<Stream>;
|
|
1585
|
+
openWriteTaskAsync(address: string, method: string | undefined): Task_1<Stream>;
|
|
1586
|
+
openWriteTaskAsync(address: Uri, method: string | undefined): Task_1<Stream>;
|
|
1589
1587
|
uploadData(address: string, data: byte[]): byte[];
|
|
1590
1588
|
uploadData(address: Uri, data: byte[]): byte[];
|
|
1591
|
-
uploadData(address: string, method: string, data: byte[]): byte[];
|
|
1592
|
-
uploadData(address: Uri, method: string, data: byte[]): byte[];
|
|
1589
|
+
uploadData(address: string, method: string | undefined, data: byte[]): byte[];
|
|
1590
|
+
uploadData(address: Uri, method: string | undefined, data: byte[]): byte[];
|
|
1593
1591
|
uploadDataAsync(address: Uri, data: byte[]): void;
|
|
1594
|
-
uploadDataAsync(address: Uri, method: string, data: byte[]): void;
|
|
1595
|
-
uploadDataAsync(address: Uri, method: string, data: byte[], userToken: unknown): void;
|
|
1592
|
+
uploadDataAsync(address: Uri, method: string | undefined, data: byte[]): void;
|
|
1593
|
+
uploadDataAsync(address: Uri, method: string | undefined, data: byte[], userToken: unknown | undefined): void;
|
|
1596
1594
|
uploadDataTaskAsync(address: string, data: byte[]): Task_1<byte[]>;
|
|
1597
1595
|
uploadDataTaskAsync(address: Uri, data: byte[]): Task_1<byte[]>;
|
|
1598
|
-
uploadDataTaskAsync(address: string, method: string, data: byte[]): Task_1<byte[]>;
|
|
1599
|
-
uploadDataTaskAsync(address: Uri, method: string, data: byte[]): Task_1<byte[]>;
|
|
1596
|
+
uploadDataTaskAsync(address: string, method: string | undefined, data: byte[]): Task_1<byte[]>;
|
|
1597
|
+
uploadDataTaskAsync(address: Uri, method: string | undefined, data: byte[]): Task_1<byte[]>;
|
|
1600
1598
|
uploadFile(address: string, fileName: string): byte[];
|
|
1601
1599
|
uploadFile(address: Uri, fileName: string): byte[];
|
|
1602
|
-
uploadFile(address: string, method: string, fileName: string): byte[];
|
|
1603
|
-
uploadFile(address: Uri, method: string, fileName: string): byte[];
|
|
1600
|
+
uploadFile(address: string, method: string | undefined, fileName: string): byte[];
|
|
1601
|
+
uploadFile(address: Uri, method: string | undefined, fileName: string): byte[];
|
|
1604
1602
|
uploadFileAsync(address: Uri, fileName: string): void;
|
|
1605
|
-
uploadFileAsync(address: Uri, method: string, fileName: string): void;
|
|
1606
|
-
uploadFileAsync(address: Uri, method: string, fileName: string, userToken: unknown): void;
|
|
1603
|
+
uploadFileAsync(address: Uri, method: string | undefined, fileName: string): void;
|
|
1604
|
+
uploadFileAsync(address: Uri, method: string | undefined, fileName: string, userToken: unknown | undefined): void;
|
|
1607
1605
|
uploadFileTaskAsync(address: string, fileName: string): Task_1<byte[]>;
|
|
1608
1606
|
uploadFileTaskAsync(address: Uri, fileName: string): Task_1<byte[]>;
|
|
1609
|
-
uploadFileTaskAsync(address: string, method: string, fileName: string): Task_1<byte[]>;
|
|
1610
|
-
uploadFileTaskAsync(address: Uri, method: string, fileName: string): Task_1<byte[]>;
|
|
1607
|
+
uploadFileTaskAsync(address: string, method: string | undefined, fileName: string): Task_1<byte[]>;
|
|
1608
|
+
uploadFileTaskAsync(address: Uri, method: string | undefined, fileName: string): Task_1<byte[]>;
|
|
1611
1609
|
uploadString(address: string, data: string): string;
|
|
1612
1610
|
uploadString(address: Uri, data: string): string;
|
|
1613
|
-
uploadString(address: string, method: string, data: string): string;
|
|
1614
|
-
uploadString(address: Uri, method: string, data: string): string;
|
|
1611
|
+
uploadString(address: string, method: string | undefined, data: string): string;
|
|
1612
|
+
uploadString(address: Uri, method: string | undefined, data: string): string;
|
|
1615
1613
|
uploadStringAsync(address: Uri, data: string): void;
|
|
1616
|
-
uploadStringAsync(address: Uri, method: string, data: string): void;
|
|
1617
|
-
uploadStringAsync(address: Uri, method: string, data: string, userToken: unknown): void;
|
|
1614
|
+
uploadStringAsync(address: Uri, method: string | undefined, data: string): void;
|
|
1615
|
+
uploadStringAsync(address: Uri, method: string | undefined, data: string, userToken: unknown | undefined): void;
|
|
1618
1616
|
uploadStringTaskAsync(address: string, data: string): Task_1<System_Internal.String>;
|
|
1619
1617
|
uploadStringTaskAsync(address: Uri, data: string): Task_1<System_Internal.String>;
|
|
1620
|
-
uploadStringTaskAsync(address: string, method: string, data: string): Task_1<System_Internal.String>;
|
|
1621
|
-
uploadStringTaskAsync(address: Uri, method: string, data: string): Task_1<System_Internal.String>;
|
|
1618
|
+
uploadStringTaskAsync(address: string, method: string | undefined, data: string): Task_1<System_Internal.String>;
|
|
1619
|
+
uploadStringTaskAsync(address: Uri, method: string | undefined, data: string): Task_1<System_Internal.String>;
|
|
1622
1620
|
uploadValues(address: string, data: NameValueCollection): byte[];
|
|
1623
1621
|
uploadValues(address: Uri, data: NameValueCollection): byte[];
|
|
1624
|
-
uploadValues(address: string, method: string, data: NameValueCollection): byte[];
|
|
1625
|
-
uploadValues(address: Uri, method: string, data: NameValueCollection): byte[];
|
|
1622
|
+
uploadValues(address: string, method: string | undefined, data: NameValueCollection): byte[];
|
|
1623
|
+
uploadValues(address: Uri, method: string | undefined, data: NameValueCollection): byte[];
|
|
1626
1624
|
uploadValuesAsync(address: Uri, data: NameValueCollection): void;
|
|
1627
|
-
uploadValuesAsync(address: Uri, method: string, data: NameValueCollection): void;
|
|
1628
|
-
uploadValuesAsync(address: Uri, method: string, data: NameValueCollection, userToken: unknown): void;
|
|
1625
|
+
uploadValuesAsync(address: Uri, method: string | undefined, data: NameValueCollection): void;
|
|
1626
|
+
uploadValuesAsync(address: Uri, method: string | undefined, data: NameValueCollection, userToken: unknown | undefined): void;
|
|
1629
1627
|
uploadValuesTaskAsync(address: string, data: NameValueCollection): Task_1<byte[]>;
|
|
1630
|
-
uploadValuesTaskAsync(address: string, method: string, data: NameValueCollection): Task_1<byte[]>;
|
|
1628
|
+
uploadValuesTaskAsync(address: string, method: string | undefined, data: NameValueCollection): Task_1<byte[]>;
|
|
1631
1629
|
uploadValuesTaskAsync(address: Uri, data: NameValueCollection): Task_1<byte[]>;
|
|
1632
|
-
uploadValuesTaskAsync(address: Uri, method: string, data: NameValueCollection): Task_1<byte[]>;
|
|
1630
|
+
uploadValuesTaskAsync(address: Uri, method: string | undefined, data: NameValueCollection): Task_1<byte[]>;
|
|
1633
1631
|
}
|
|
1634
1632
|
|
|
1635
1633
|
|
|
1636
1634
|
export const WebClient: {
|
|
1637
|
-
new(): WebClient
|
|
1635
|
+
new(): WebClient;
|
|
1638
1636
|
};
|
|
1639
1637
|
|
|
1640
1638
|
|
|
@@ -1651,16 +1649,16 @@ export type WebClient = WebClient$instance & __WebClient$views;
|
|
|
1651
1649
|
export interface WebException$instance extends InvalidOperationException {
|
|
1652
1650
|
readonly response: WebResponse;
|
|
1653
1651
|
readonly status: WebExceptionStatus;
|
|
1654
|
-
getObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
|
|
1652
|
+
getObjectData(serializationInfo: SerializationInfo | undefined, streamingContext: StreamingContext): void;
|
|
1655
1653
|
}
|
|
1656
1654
|
|
|
1657
1655
|
|
|
1658
1656
|
export const WebException: {
|
|
1659
|
-
new(): WebException
|
|
1660
|
-
new(message: string): WebException
|
|
1661
|
-
new(message: string, innerException: Exception): WebException
|
|
1662
|
-
new(message: string, status: WebExceptionStatus): WebException
|
|
1663
|
-
new(message: string, innerException: Exception, status: WebExceptionStatus, response: WebResponse): WebException
|
|
1657
|
+
new(): WebException;
|
|
1658
|
+
new(message: string | undefined): WebException;
|
|
1659
|
+
new(message: string | undefined, innerException: Exception | undefined): WebException;
|
|
1660
|
+
new(message: string | undefined, status: WebExceptionStatus): WebException;
|
|
1661
|
+
new(message: string | undefined, innerException: Exception | undefined, status: WebExceptionStatus, response: WebResponse | undefined): WebException;
|
|
1664
1662
|
};
|
|
1665
1663
|
|
|
1666
1664
|
|
|
@@ -1672,25 +1670,25 @@ export type WebException = WebException$instance & __WebException$views;
|
|
|
1672
1670
|
|
|
1673
1671
|
|
|
1674
1672
|
export interface WebHeaderCollection$instance extends NameValueCollection {
|
|
1675
|
-
readonly allKeys: string[];
|
|
1673
|
+
readonly allKeys: (string | undefined)[] | string[];
|
|
1676
1674
|
readonly count: int;
|
|
1677
1675
|
readonly keys: NameObjectCollectionBase_KeysCollection;
|
|
1678
1676
|
add(header: HttpResponseHeader, value: string): void;
|
|
1679
|
-
add(name: string, value: string): void;
|
|
1680
|
-
add(c: NameValueCollection): void;
|
|
1677
|
+
add(name: string, value: string | undefined): void;
|
|
1678
|
+
add(c: NameValueCollection | undefined): void;
|
|
1681
1679
|
clear(): void;
|
|
1682
|
-
copyTo(dest: ClrArray, index: int): void;
|
|
1680
|
+
copyTo(dest: ClrArray | undefined, index: int): void;
|
|
1683
1681
|
get_(index: int): string;
|
|
1684
1682
|
get_(name: string): string;
|
|
1685
1683
|
getEnumerator(): IEnumerator;
|
|
1686
1684
|
getKey(index: int): string;
|
|
1687
1685
|
getObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
|
|
1688
|
-
getValues(index: int): string[];
|
|
1686
|
+
getValues(index: int): string[] | undefined;
|
|
1689
1687
|
getValues(header: string): string[];
|
|
1690
1688
|
onDeserialization(sender: unknown): void;
|
|
1691
1689
|
remove(header: HttpResponseHeader): void;
|
|
1692
1690
|
remove(name: string): void;
|
|
1693
|
-
set_(name: string, value: string): void;
|
|
1691
|
+
set_(name: string, value: string | undefined): void;
|
|
1694
1692
|
set_(header: HttpResponseHeader, value: string): void;
|
|
1695
1693
|
toByteArray(): byte[];
|
|
1696
1694
|
toString(): string;
|
|
@@ -1698,7 +1696,7 @@ export interface WebHeaderCollection$instance extends NameValueCollection {
|
|
|
1698
1696
|
|
|
1699
1697
|
|
|
1700
1698
|
export const WebHeaderCollection: {
|
|
1701
|
-
new(): WebHeaderCollection
|
|
1699
|
+
new(): WebHeaderCollection;
|
|
1702
1700
|
isRestricted(headerName: string, response: boolean): boolean;
|
|
1703
1701
|
isRestricted(headerName: string): boolean;
|
|
1704
1702
|
};
|
|
@@ -1721,23 +1719,23 @@ export interface WebProxy$instance {
|
|
|
1721
1719
|
bypassProxyOnLocal: boolean;
|
|
1722
1720
|
credentials: ICredentials;
|
|
1723
1721
|
useDefaultCredentials: boolean;
|
|
1724
|
-
getProxy(destination: Uri): Uri;
|
|
1725
|
-
isBypassed(host: Uri): boolean;
|
|
1722
|
+
getProxy(destination: Uri | undefined): Uri | undefined;
|
|
1723
|
+
isBypassed(host: Uri | undefined): boolean;
|
|
1726
1724
|
}
|
|
1727
1725
|
|
|
1728
1726
|
|
|
1729
1727
|
export const WebProxy: {
|
|
1730
|
-
new(): WebProxy
|
|
1731
|
-
new(Address: Uri): WebProxy
|
|
1732
|
-
new(Address: Uri, BypassOnLocal: boolean): WebProxy
|
|
1733
|
-
new(Address: Uri, BypassOnLocal: boolean, BypassList: string[]): WebProxy
|
|
1734
|
-
new(Address: Uri, BypassOnLocal: boolean, BypassList: string[], Credentials: ICredentials): WebProxy
|
|
1735
|
-
new(Host: string, Port: int): WebProxy
|
|
1736
|
-
new(Address: string): WebProxy
|
|
1737
|
-
new(Address: string, BypassOnLocal: boolean): WebProxy
|
|
1738
|
-
new(Address: string, BypassOnLocal: boolean, BypassList: string[]): WebProxy
|
|
1739
|
-
new(Address: string, BypassOnLocal: boolean, BypassList: string[], Credentials: ICredentials): WebProxy
|
|
1740
|
-
getDefaultProxy(): WebProxy;
|
|
1728
|
+
new(): WebProxy;
|
|
1729
|
+
new(Address: Uri | undefined): WebProxy;
|
|
1730
|
+
new(Address: Uri | undefined, BypassOnLocal: boolean): WebProxy;
|
|
1731
|
+
new(Address: Uri | undefined, BypassOnLocal: boolean, BypassList: string[] | undefined): WebProxy;
|
|
1732
|
+
new(Address: Uri | undefined, BypassOnLocal: boolean, BypassList: string[] | undefined, Credentials: ICredentials | undefined): WebProxy;
|
|
1733
|
+
new(Host: string | undefined, Port: int): WebProxy;
|
|
1734
|
+
new(Address: string | undefined): WebProxy;
|
|
1735
|
+
new(Address: string | undefined, BypassOnLocal: boolean): WebProxy;
|
|
1736
|
+
new(Address: string | undefined, BypassOnLocal: boolean, BypassList: string[] | undefined): WebProxy;
|
|
1737
|
+
new(Address: string | undefined, BypassOnLocal: boolean, BypassList: string[] | undefined, Credentials: ICredentials | undefined): WebProxy;
|
|
1738
|
+
getDefaultProxy(): WebProxy | undefined;
|
|
1741
1739
|
};
|
|
1742
1740
|
|
|
1743
1741
|
|
|
@@ -1754,7 +1752,7 @@ export type WebProxy = WebProxy$instance & __WebProxy$views;
|
|
|
1754
1752
|
export interface WebRequest$instance extends MarshalByRefObject {
|
|
1755
1753
|
authenticationLevel: AuthenticationLevel;
|
|
1756
1754
|
cachePolicy: RequestCachePolicy;
|
|
1757
|
-
connectionGroupName: string;
|
|
1755
|
+
connectionGroupName: string | undefined;
|
|
1758
1756
|
contentLength: long;
|
|
1759
1757
|
contentType: string;
|
|
1760
1758
|
credentials: ICredentials;
|
|
@@ -1762,7 +1760,7 @@ export interface WebRequest$instance extends MarshalByRefObject {
|
|
|
1762
1760
|
impersonationLevel: TokenImpersonationLevel;
|
|
1763
1761
|
method: string;
|
|
1764
1762
|
preAuthenticate: boolean;
|
|
1765
|
-
proxy: IWebProxy;
|
|
1763
|
+
proxy: IWebProxy | undefined;
|
|
1766
1764
|
readonly requestUri: Uri;
|
|
1767
1765
|
timeout: int;
|
|
1768
1766
|
useDefaultCredentials: boolean;
|
|
@@ -1779,8 +1777,8 @@ export interface WebRequest$instance extends MarshalByRefObject {
|
|
|
1779
1777
|
|
|
1780
1778
|
|
|
1781
1779
|
export const WebRequest: {
|
|
1782
|
-
defaultCachePolicy: RequestCachePolicy;
|
|
1783
|
-
defaultWebProxy: IWebProxy;
|
|
1780
|
+
defaultCachePolicy: RequestCachePolicy | undefined;
|
|
1781
|
+
defaultWebProxy: IWebProxy | undefined;
|
|
1784
1782
|
create(requestUriString: string): WebRequest;
|
|
1785
1783
|
create(requestUri: Uri): WebRequest;
|
|
1786
1784
|
createDefault(requestUri: Uri): WebRequest;
|
|
@@ -1829,23 +1827,23 @@ export type WebResponse = WebResponse$instance & __WebResponse$views;
|
|
|
1829
1827
|
|
|
1830
1828
|
|
|
1831
1829
|
export interface WriteStreamClosedEventArgs$instance extends EventArgs {
|
|
1832
|
-
readonly error: Exception;
|
|
1830
|
+
readonly error: Exception | undefined;
|
|
1833
1831
|
}
|
|
1834
1832
|
|
|
1835
1833
|
|
|
1836
1834
|
export const WriteStreamClosedEventArgs: {
|
|
1837
|
-
new(): WriteStreamClosedEventArgs
|
|
1835
|
+
new(): WriteStreamClosedEventArgs;
|
|
1838
1836
|
};
|
|
1839
1837
|
|
|
1840
1838
|
|
|
1841
1839
|
export type WriteStreamClosedEventArgs = WriteStreamClosedEventArgs$instance;
|
|
1842
1840
|
|
|
1843
1841
|
export abstract class Dns$instance {
|
|
1844
|
-
static beginGetHostAddresses(hostNameOrAddress: string, requestCallback: AsyncCallback, state: unknown): IAsyncResult;
|
|
1845
|
-
static beginGetHostByName(hostName: string, requestCallback: AsyncCallback, stateObject: unknown): IAsyncResult;
|
|
1846
|
-
static beginGetHostEntry(address: IPAddress, requestCallback: AsyncCallback, stateObject: unknown): IAsyncResult;
|
|
1847
|
-
static beginGetHostEntry(hostNameOrAddress: string, requestCallback: AsyncCallback, stateObject: unknown): IAsyncResult;
|
|
1848
|
-
static beginResolve(hostName: string, requestCallback: AsyncCallback, stateObject: unknown): IAsyncResult;
|
|
1842
|
+
static beginGetHostAddresses(hostNameOrAddress: string, requestCallback: AsyncCallback | undefined, state: unknown | undefined): IAsyncResult;
|
|
1843
|
+
static beginGetHostByName(hostName: string, requestCallback: AsyncCallback | undefined, stateObject: unknown | undefined): IAsyncResult;
|
|
1844
|
+
static beginGetHostEntry(address: IPAddress, requestCallback: AsyncCallback | undefined, stateObject: unknown | undefined): IAsyncResult;
|
|
1845
|
+
static beginGetHostEntry(hostNameOrAddress: string, requestCallback: AsyncCallback | undefined, stateObject: unknown | undefined): IAsyncResult;
|
|
1846
|
+
static beginResolve(hostName: string, requestCallback: AsyncCallback | undefined, stateObject: unknown | undefined): IAsyncResult;
|
|
1849
1847
|
static endGetHostAddresses(asyncResult: IAsyncResult): IPAddress[];
|
|
1850
1848
|
static endGetHostByName(asyncResult: IAsyncResult): IPHostEntry;
|
|
1851
1849
|
static endGetHostEntry(asyncResult: IAsyncResult): IPHostEntry;
|
|
@@ -1929,14 +1927,14 @@ export abstract class WebRequestMethods_Http$instance {
|
|
|
1929
1927
|
export type WebRequestMethods_Http = WebRequestMethods_Http$instance;
|
|
1930
1928
|
|
|
1931
1929
|
export abstract class WebUtility$instance {
|
|
1932
|
-
static htmlDecode(value: string, output: TextWriter): void;
|
|
1933
|
-
static htmlDecode(value: string): string;
|
|
1934
|
-
static htmlEncode(value: string, output: TextWriter): void;
|
|
1935
|
-
static htmlEncode(value: string): string;
|
|
1936
|
-
static urlDecode(encodedValue: string): string;
|
|
1937
|
-
static urlDecodeToBytes(encodedValue: byte[], offset: int, count: int): byte[];
|
|
1938
|
-
static urlEncode(value: string): string;
|
|
1939
|
-
static urlEncodeToBytes(value: byte[], offset: int, count: int): byte[];
|
|
1930
|
+
static htmlDecode(value: string | undefined, output: TextWriter | undefined): void;
|
|
1931
|
+
static htmlDecode(value: string | undefined): string | undefined;
|
|
1932
|
+
static htmlEncode(value: string | undefined, output: TextWriter | undefined): void;
|
|
1933
|
+
static htmlEncode(value: string | undefined): string | undefined;
|
|
1934
|
+
static urlDecode(encodedValue: string | undefined): string | undefined;
|
|
1935
|
+
static urlDecodeToBytes(encodedValue: byte[] | undefined, offset: int, count: int): byte[] | undefined;
|
|
1936
|
+
static urlEncode(value: string | undefined): string | undefined;
|
|
1937
|
+
static urlEncodeToBytes(value: byte[] | undefined, offset: int, count: int): byte[] | undefined;
|
|
1940
1938
|
}
|
|
1941
1939
|
|
|
1942
1940
|
|