@tsonic/dotnet 0.8.1 → 0.8.3
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.VisualBasic/internal/index.d.ts +1 -1
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +1 -1
- package/Microsoft.Win32/internal/index.d.ts +9 -9
- package/System/bindings.json +114 -114
- package/System/internal/index.d.ts +156 -154
- package/System/internal/metadata.json +73 -73
- package/System.Buffers/internal/index.d.ts +1 -1
- package/System.CodeDom.Compiler/internal/index.d.ts +1 -1
- package/System.Collections/internal/index.d.ts +12 -8
- package/System.Collections.Generic/internal/index.d.ts +22 -14
- package/System.Collections.Immutable/internal/index.d.ts +11 -11
- package/System.Collections.Specialized/internal/index.d.ts +20 -18
- package/System.ComponentModel/internal/index.d.ts +219 -209
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +42 -32
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +2 -1
- package/System.ComponentModel.Design/internal/index.d.ts +40 -40
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +17 -17
- package/System.Data/internal/index.d.ts +54 -46
- package/System.Data.Common/internal/index.d.ts +52 -44
- package/System.Data.SqlTypes/internal/index.d.ts +2 -2
- package/System.Diagnostics/internal/index.d.ts +85 -63
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +30 -16
- package/System.Diagnostics.Contracts/internal/index.d.ts +4 -4
- package/System.Diagnostics.Metrics/internal/index.d.ts +14 -9
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +5 -5
- package/System.Diagnostics.Tracing/internal/index.d.ts +11 -9
- package/System.Drawing/internal/index.d.ts +33 -33
- package/System.Dynamic/internal/index.d.ts +1 -1
- package/System.Formats.Tar/internal/index.d.ts +3 -2
- package/System.Globalization/internal/index.d.ts +8 -6
- package/System.IO/internal/index.d.ts +30 -27
- package/System.IO.Compression/internal/index.d.ts +1 -1
- package/System.IO.Enumeration/internal/index.d.ts +4 -2
- package/System.Linq/internal/index.d.ts +63 -63
- package/System.Linq.Expressions/internal/index.d.ts +13 -13
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
- package/System.Net/internal/index.d.ts +87 -63
- package/System.Net.Http/internal/index.d.ts +37 -21
- package/System.Net.Http.Headers/internal/index.d.ts +37 -20
- package/System.Net.Http.Json/internal/index.d.ts +39 -39
- package/System.Net.Mail/internal/index.d.ts +22 -12
- package/System.Net.Mime/internal/index.d.ts +4 -2
- package/System.Net.NetworkInformation/internal/index.d.ts +1 -1
- package/System.Net.Quic/internal/index.d.ts +3 -2
- package/System.Net.Security/internal/index.d.ts +38 -22
- package/System.Net.ServerSentEvents/internal/index.d.ts +2 -1
- package/System.Net.Sockets/internal/index.d.ts +23 -16
- package/System.Net.WebSockets/internal/index.d.ts +17 -11
- package/System.Numerics/bindings.json +408 -0
- package/System.Numerics/internal/metadata.json +272 -0
- package/System.Reflection/internal/index.d.ts +185 -182
- package/System.Reflection.Emit/internal/index.d.ts +82 -82
- package/System.Reflection.Metadata/bindings.json +48 -0
- package/System.Reflection.Metadata/internal/index.d.ts +5 -5
- package/System.Reflection.Metadata/internal/metadata.json +32 -0
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +1 -1
- package/System.Reflection.PortableExecutable/internal/index.d.ts +2 -2
- package/System.Resources/internal/index.d.ts +13 -12
- package/System.Runtime/internal/index.d.ts +2 -1
- package/System.Runtime.CompilerServices/internal/index.d.ts +15 -13
- package/System.Runtime.InteropServices/bindings.json +22 -22
- package/System.Runtime.InteropServices/internal/index.d.ts +46 -44
- package/System.Runtime.InteropServices/internal/metadata.json +13 -13
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +1 -1
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +3 -3
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +16 -14
- package/System.Runtime.Loader/internal/index.d.ts +4 -4
- package/System.Runtime.Remoting/internal/index.d.ts +1 -1
- package/System.Runtime.Serialization/internal/index.d.ts +53 -43
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +14 -14
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +4 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +2 -1
- package/System.Runtime.Serialization.Json/internal/index.d.ts +9 -8
- package/System.Runtime.Versioning/internal/index.d.ts +6 -3
- package/System.Security/internal/index.d.ts +35 -25
- package/System.Security.AccessControl/internal/index.d.ts +14 -10
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +4 -4
- package/System.Security.Claims/internal/index.d.ts +16 -12
- package/System.Security.Cryptography/internal/index.d.ts +80 -66
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +33 -32
- package/System.Security.Permissions/internal/index.d.ts +2 -2
- package/System.Security.Policy/internal/index.d.ts +2 -2
- package/System.Security.Principal/internal/index.d.ts +8 -10
- package/System.Text/internal/index.d.ts +13 -11
- package/System.Text.Json/internal/index.d.ts +67 -61
- package/System.Text.Json.Nodes/internal/index.d.ts +31 -31
- package/System.Text.Json.Schema/internal/index.d.ts +4 -3
- package/System.Text.Json.Serialization/internal/index.d.ts +9 -8
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +67 -42
- package/System.Threading/internal/index.d.ts +16 -15
- package/System.Threading.Tasks/internal/index.d.ts +4 -14
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +3 -1
- package/System.Timers/internal/index.d.ts +4 -2
- package/System.Transactions/internal/index.d.ts +8 -6
- package/System.Web/internal/index.d.ts +24 -24
- package/System.Xml/internal/index.d.ts +100 -99
- package/System.Xml.Linq/internal/index.d.ts +16 -15
- package/System.Xml.Resolvers/internal/index.d.ts +1 -1
- package/System.Xml.Schema/internal/index.d.ts +129 -84
- package/System.Xml.Serialization/internal/index.d.ts +68 -47
- package/System.Xml.XPath/internal/index.d.ts +10 -10
- package/System.Xml.Xsl/internal/index.d.ts +7 -7
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +8 -8
- package/__internal/extensions/index.d.ts +177 -176
- 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,7 +370,7 @@ export type ICredentialsByHost = ICredentialsByHost$instance;
|
|
|
370
370
|
|
|
371
371
|
export interface IWebProxy$instance {
|
|
372
372
|
credentials: ICredentials;
|
|
373
|
-
getProxy(destination: Uri): Uri;
|
|
373
|
+
getProxy(destination: Uri): Uri | undefined;
|
|
374
374
|
isBypassed(host: Uri): boolean;
|
|
375
375
|
}
|
|
376
376
|
|
|
@@ -442,11 +442,12 @@ export interface AuthenticationManager$instance {
|
|
|
442
442
|
|
|
443
443
|
export const AuthenticationManager: {
|
|
444
444
|
new(): AuthenticationManager;
|
|
445
|
-
credentialPolicy: ICredentialPolicy;
|
|
445
|
+
get credentialPolicy(): ICredentialPolicy | undefined;
|
|
446
|
+
set credentialPolicy(value: ICredentialPolicy);
|
|
446
447
|
readonly customTargetNameDictionary: StringDictionary;
|
|
447
448
|
readonly registeredModules: IEnumerator;
|
|
448
|
-
authenticate(challenge: string, request: WebRequest, credentials: ICredentials): Authorization;
|
|
449
|
-
preAuthenticate(request: WebRequest, credentials: ICredentials): Authorization;
|
|
449
|
+
authenticate(challenge: string, request: WebRequest, credentials: ICredentials): Authorization | undefined;
|
|
450
|
+
preAuthenticate(request: WebRequest, credentials: ICredentials): Authorization | undefined;
|
|
450
451
|
register(authenticationModule: IAuthenticationModule): void;
|
|
451
452
|
unregister(authenticationModule: IAuthenticationModule): void;
|
|
452
453
|
unregister(authenticationScheme: string): void;
|
|
@@ -457,10 +458,11 @@ export type AuthenticationManager = AuthenticationManager$instance;
|
|
|
457
458
|
|
|
458
459
|
export interface Authorization$instance {
|
|
459
460
|
readonly complete: boolean;
|
|
460
|
-
readonly connectionGroupId: string;
|
|
461
|
+
readonly connectionGroupId: string | undefined;
|
|
461
462
|
readonly message: string;
|
|
462
463
|
mutuallyAuthenticated: boolean;
|
|
463
|
-
protectionRealm: string[];
|
|
464
|
+
get protectionRealm(): string[] | undefined;
|
|
465
|
+
set protectionRealm(value: string[]);
|
|
464
466
|
}
|
|
465
467
|
|
|
466
468
|
|
|
@@ -475,7 +477,8 @@ export type Authorization = Authorization$instance;
|
|
|
475
477
|
|
|
476
478
|
export interface Cookie$instance {
|
|
477
479
|
comment: string;
|
|
478
|
-
commentUri: Uri;
|
|
480
|
+
get commentUri(): Uri | undefined;
|
|
481
|
+
set commentUri(value: Uri);
|
|
479
482
|
discard: boolean;
|
|
480
483
|
domain: string;
|
|
481
484
|
expired: boolean;
|
|
@@ -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;
|
|
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;
|
|
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;
|
|
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;
|
|
773
|
+
get proxy(): IWebProxy | undefined;
|
|
774
|
+
set proxy(value: IWebProxy);
|
|
768
775
|
readWriteTimeout: int;
|
|
769
|
-
renameTo: string;
|
|
776
|
+
get renameTo(): string | undefined;
|
|
777
|
+
set renameTo(value: string);
|
|
770
778
|
readonly requestUri: Uri;
|
|
771
779
|
readonly servicePoint: ServicePoint;
|
|
772
780
|
timeout: int;
|
|
@@ -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;
|
|
797
|
+
get defaultCachePolicy(): RequestCachePolicy | undefined;
|
|
798
|
+
set defaultCachePolicy(value: RequestCachePolicy);
|
|
790
799
|
};
|
|
791
800
|
|
|
792
801
|
|
|
@@ -800,16 +809,16 @@ export type FtpWebRequest = FtpWebRequest$instance & __FtpWebRequest$views;
|
|
|
800
809
|
|
|
801
810
|
|
|
802
811
|
export interface FtpWebResponse$instance extends WebResponse$instance {
|
|
803
|
-
readonly bannerMessage: string;
|
|
812
|
+
readonly bannerMessage: string | undefined;
|
|
804
813
|
readonly contentLength: long;
|
|
805
|
-
readonly exitMessage: string;
|
|
814
|
+
readonly exitMessage: string | undefined;
|
|
806
815
|
readonly headers: WebHeaderCollection;
|
|
807
816
|
readonly lastModified: DateTime;
|
|
808
817
|
readonly responseUri: Uri;
|
|
809
818
|
readonly statusCode: FtpStatusCode;
|
|
810
819
|
readonly statusDescription: string;
|
|
811
820
|
readonly supportsHeaders: boolean;
|
|
812
|
-
readonly welcomeMessage: string;
|
|
821
|
+
readonly welcomeMessage: string | undefined;
|
|
813
822
|
close(): void;
|
|
814
823
|
dispose(): void;
|
|
815
824
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
@@ -847,14 +856,17 @@ export type GlobalProxySelection = GlobalProxySelection$instance;
|
|
|
847
856
|
|
|
848
857
|
export interface HttpListener$instance {
|
|
849
858
|
authenticationSchemes: AuthenticationSchemes;
|
|
850
|
-
authenticationSchemeSelectorDelegate: AuthenticationSchemeSelector;
|
|
859
|
+
get authenticationSchemeSelectorDelegate(): AuthenticationSchemeSelector | undefined;
|
|
860
|
+
set authenticationSchemeSelectorDelegate(value: AuthenticationSchemeSelector);
|
|
851
861
|
readonly defaultServiceNames: ServiceNameCollection;
|
|
852
862
|
extendedProtectionPolicy: ExtendedProtectionPolicy;
|
|
853
|
-
extendedProtectionSelectorDelegate: HttpListener_ExtendedProtectionSelector;
|
|
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;
|
|
868
|
+
get realm(): string | undefined;
|
|
869
|
+
set realm(value: string);
|
|
858
870
|
readonly timeoutManager: HttpListenerTimeoutManager;
|
|
859
871
|
unsafeConnectionNtlmAuthentication: boolean;
|
|
860
872
|
abort(): void;
|
|
@@ -897,8 +909,6 @@ export interface __HttpListenerBasicIdentity$views {
|
|
|
897
909
|
As_IIdentity(): System_Security_Principal_Internal.IIdentity$instance;
|
|
898
910
|
}
|
|
899
911
|
|
|
900
|
-
export interface HttpListenerBasicIdentity$instance extends System_Security_Principal_Internal.IIdentity$instance {}
|
|
901
|
-
|
|
902
912
|
export type HttpListenerBasicIdentity = HttpListenerBasicIdentity$instance & __HttpListenerBasicIdentity$views;
|
|
903
913
|
|
|
904
914
|
|
|
@@ -969,7 +979,7 @@ export type HttpListenerPrefixCollection = HttpListenerPrefixCollection$instance
|
|
|
969
979
|
|
|
970
980
|
|
|
971
981
|
export interface HttpListenerRequest$instance {
|
|
972
|
-
readonly acceptTypes: string[];
|
|
982
|
+
readonly acceptTypes: string[] | undefined;
|
|
973
983
|
readonly clientCertificateError: int;
|
|
974
984
|
readonly contentEncoding: Encoding;
|
|
975
985
|
readonly contentLength64: long;
|
|
@@ -977,7 +987,7 @@ export interface HttpListenerRequest$instance {
|
|
|
977
987
|
readonly cookies: CookieCollection;
|
|
978
988
|
readonly hasEntityBody: boolean;
|
|
979
989
|
readonly headers: NameValueCollection;
|
|
980
|
-
readonly httpMethod: string;
|
|
990
|
+
readonly httpMethod: string | undefined;
|
|
981
991
|
readonly inputStream: Stream;
|
|
982
992
|
readonly isAuthenticated: boolean;
|
|
983
993
|
readonly isLocal: boolean;
|
|
@@ -987,21 +997,21 @@ export interface HttpListenerRequest$instance {
|
|
|
987
997
|
readonly localEndPoint: IPEndPoint;
|
|
988
998
|
readonly protocolVersion: Version;
|
|
989
999
|
readonly queryString: NameValueCollection;
|
|
990
|
-
readonly rawUrl: string;
|
|
1000
|
+
readonly rawUrl: string | undefined;
|
|
991
1001
|
readonly remoteEndPoint: IPEndPoint;
|
|
992
1002
|
readonly requestTraceIdentifier: Guid;
|
|
993
|
-
readonly serviceName: string;
|
|
1003
|
+
readonly serviceName: string | undefined;
|
|
994
1004
|
readonly transportContext: TransportContext;
|
|
995
|
-
readonly url: Uri;
|
|
996
|
-
readonly urlReferrer: Uri;
|
|
1005
|
+
readonly url: Uri | undefined;
|
|
1006
|
+
readonly urlReferrer: Uri | undefined;
|
|
997
1007
|
readonly userAgent: string;
|
|
998
1008
|
readonly userHostAddress: string;
|
|
999
1009
|
readonly userHostName: string;
|
|
1000
|
-
readonly userLanguages: string[];
|
|
1010
|
+
readonly userLanguages: string[] | undefined;
|
|
1001
1011
|
beginGetClientCertificate(requestCallback: AsyncCallback, state: unknown): IAsyncResult;
|
|
1002
|
-
endGetClientCertificate(asyncResult: IAsyncResult): X509Certificate2;
|
|
1003
|
-
getClientCertificate(): X509Certificate2;
|
|
1004
|
-
getClientCertificateAsync(): Task_1<X509Certificate2>;
|
|
1012
|
+
endGetClientCertificate(asyncResult: IAsyncResult): X509Certificate2 | undefined;
|
|
1013
|
+
getClientCertificate(): X509Certificate2 | undefined;
|
|
1014
|
+
getClientCertificateAsync(): Task_1<X509Certificate2 | undefined>;
|
|
1005
1015
|
}
|
|
1006
1016
|
|
|
1007
1017
|
|
|
@@ -1021,7 +1031,8 @@ export interface HttpListenerResponse$instance {
|
|
|
1021
1031
|
keepAlive: boolean;
|
|
1022
1032
|
readonly outputStream: Stream;
|
|
1023
1033
|
protocolVersion: Version;
|
|
1024
|
-
redirectLocation: string;
|
|
1034
|
+
get redirectLocation(): string | undefined;
|
|
1035
|
+
set redirectLocation(value: string);
|
|
1025
1036
|
sendChunked: boolean;
|
|
1026
1037
|
statusCode: int;
|
|
1027
1038
|
statusDescription: string;
|
|
@@ -1077,10 +1088,12 @@ export interface HttpWebRequest$instance extends WebRequest$instance {
|
|
|
1077
1088
|
automaticDecompression: DecompressionMethods;
|
|
1078
1089
|
clientCertificates: X509CertificateCollection;
|
|
1079
1090
|
connection: string;
|
|
1080
|
-
connectionGroupName: string;
|
|
1091
|
+
get connectionGroupName(): string | undefined;
|
|
1092
|
+
set connectionGroupName(value: string);
|
|
1081
1093
|
contentLength: long;
|
|
1082
1094
|
contentType: string;
|
|
1083
|
-
continueDelegate: HttpContinueDelegate;
|
|
1095
|
+
get continueDelegate(): HttpContinueDelegate | undefined;
|
|
1096
|
+
set continueDelegate(value: HttpContinueDelegate);
|
|
1084
1097
|
continueTimeout: int;
|
|
1085
1098
|
cookieContainer: CookieContainer;
|
|
1086
1099
|
credentials: ICredentials;
|
|
@@ -1098,12 +1111,15 @@ export interface HttpWebRequest$instance extends WebRequest$instance {
|
|
|
1098
1111
|
pipelined: boolean;
|
|
1099
1112
|
preAuthenticate: boolean;
|
|
1100
1113
|
protocolVersion: Version;
|
|
1101
|
-
proxy: IWebProxy;
|
|
1114
|
+
get proxy(): IWebProxy | undefined;
|
|
1115
|
+
set proxy(value: IWebProxy);
|
|
1102
1116
|
readWriteTimeout: int;
|
|
1103
|
-
referer: string;
|
|
1117
|
+
get referer(): string | undefined;
|
|
1118
|
+
set referer(value: string);
|
|
1104
1119
|
readonly requestUri: Uri;
|
|
1105
1120
|
sendChunked: boolean;
|
|
1106
|
-
serverCertificateValidationCallback: RemoteCertificateValidationCallback;
|
|
1121
|
+
get serverCertificateValidationCallback(): RemoteCertificateValidationCallback | undefined;
|
|
1122
|
+
set serverCertificateValidationCallback(value: RemoteCertificateValidationCallback);
|
|
1107
1123
|
readonly servicePoint: ServicePoint;
|
|
1108
1124
|
readonly supportsCookieContainer: boolean;
|
|
1109
1125
|
timeout: int;
|
|
@@ -1134,7 +1150,8 @@ export const HttpWebRequest: {
|
|
|
1134
1150
|
new(): HttpWebRequest;
|
|
1135
1151
|
defaultMaximumResponseHeadersLength: int;
|
|
1136
1152
|
defaultMaximumErrorResponseLength: int;
|
|
1137
|
-
defaultCachePolicy: RequestCachePolicy;
|
|
1153
|
+
get defaultCachePolicy(): RequestCachePolicy | undefined;
|
|
1154
|
+
set defaultCachePolicy(value: RequestCachePolicy);
|
|
1138
1155
|
};
|
|
1139
1156
|
|
|
1140
1157
|
|
|
@@ -1148,7 +1165,7 @@ export type HttpWebRequest = HttpWebRequest$instance & __HttpWebRequest$views;
|
|
|
1148
1165
|
|
|
1149
1166
|
|
|
1150
1167
|
export interface HttpWebResponse$instance extends WebResponse$instance {
|
|
1151
|
-
readonly characterSet: string;
|
|
1168
|
+
readonly characterSet: string | undefined;
|
|
1152
1169
|
readonly contentEncoding: string;
|
|
1153
1170
|
readonly contentLength: long;
|
|
1154
1171
|
readonly contentType: string;
|
|
@@ -1378,9 +1395,10 @@ export type ProtocolViolationException = ProtocolViolationException$instance & _
|
|
|
1378
1395
|
|
|
1379
1396
|
export interface ServicePoint$instance {
|
|
1380
1397
|
readonly address: Uri;
|
|
1381
|
-
bindIPEndPointDelegate: BindIPEndPoint;
|
|
1398
|
+
get bindIPEndPointDelegate(): BindIPEndPoint | undefined;
|
|
1399
|
+
set bindIPEndPointDelegate(value: BindIPEndPoint);
|
|
1382
1400
|
readonly certificate: X509Certificate;
|
|
1383
|
-
readonly clientCertificate: X509Certificate;
|
|
1401
|
+
readonly clientCertificate: X509Certificate | undefined;
|
|
1384
1402
|
connectionLeaseTimeout: int;
|
|
1385
1403
|
connectionLimit: int;
|
|
1386
1404
|
readonly connectionName: string;
|
|
@@ -1420,7 +1438,8 @@ export const ServicePointManager: {
|
|
|
1420
1438
|
expect100Continue: boolean;
|
|
1421
1439
|
enableDnsRoundRobin: boolean;
|
|
1422
1440
|
dnsRefreshTimeout: int;
|
|
1423
|
-
serverCertificateValidationCallback: RemoteCertificateValidationCallback;
|
|
1441
|
+
get serverCertificateValidationCallback(): RemoteCertificateValidationCallback | undefined;
|
|
1442
|
+
set serverCertificateValidationCallback(value: RemoteCertificateValidationCallback);
|
|
1424
1443
|
reusePort: boolean;
|
|
1425
1444
|
checkCertificateRevocationList: boolean;
|
|
1426
1445
|
readonly encryptionPolicy: EncryptionPolicy;
|
|
@@ -1463,7 +1482,7 @@ export type SocketAddress = SocketAddress$instance & __SocketAddress$views;
|
|
|
1463
1482
|
|
|
1464
1483
|
|
|
1465
1484
|
export interface TransportContext$instance {
|
|
1466
|
-
getChannelBinding(kind: ChannelBindingKind): ChannelBinding;
|
|
1485
|
+
getChannelBinding(kind: ChannelBindingKind): ChannelBinding | undefined;
|
|
1467
1486
|
}
|
|
1468
1487
|
|
|
1469
1488
|
|
|
@@ -1545,9 +1564,10 @@ export interface WebClient$instance extends Component {
|
|
|
1545
1564
|
encoding: Encoding;
|
|
1546
1565
|
headers: WebHeaderCollection;
|
|
1547
1566
|
readonly isBusy: boolean;
|
|
1548
|
-
proxy: IWebProxy;
|
|
1567
|
+
get proxy(): IWebProxy | undefined;
|
|
1568
|
+
set proxy(value: IWebProxy);
|
|
1549
1569
|
queryString: NameValueCollection;
|
|
1550
|
-
readonly responseHeaders: WebHeaderCollection;
|
|
1570
|
+
readonly responseHeaders: WebHeaderCollection | undefined;
|
|
1551
1571
|
useDefaultCredentials: boolean;
|
|
1552
1572
|
cancelAsync(): void;
|
|
1553
1573
|
dispose(): void;
|
|
@@ -1672,7 +1692,7 @@ export type WebException = WebException$instance & __WebException$views;
|
|
|
1672
1692
|
|
|
1673
1693
|
|
|
1674
1694
|
export interface WebHeaderCollection$instance extends NameValueCollection {
|
|
1675
|
-
readonly allKeys: string[];
|
|
1695
|
+
readonly allKeys: (string | undefined)[] | string[];
|
|
1676
1696
|
readonly count: int;
|
|
1677
1697
|
readonly keys: NameObjectCollectionBase_KeysCollection;
|
|
1678
1698
|
add(header: HttpResponseHeader, value: string): void;
|
|
@@ -1680,12 +1700,12 @@ export interface WebHeaderCollection$instance extends NameValueCollection {
|
|
|
1680
1700
|
add(c: NameValueCollection): void;
|
|
1681
1701
|
clear(): void;
|
|
1682
1702
|
copyTo(dest: ClrArray, index: int): void;
|
|
1683
|
-
get_(index: int): string;
|
|
1684
|
-
get_(name: string): string;
|
|
1703
|
+
get_(index: int): string | undefined;
|
|
1704
|
+
get_(name: string): string | undefined;
|
|
1685
1705
|
getEnumerator(): IEnumerator;
|
|
1686
1706
|
getKey(index: int): string;
|
|
1687
1707
|
getObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
|
|
1688
|
-
getValues(index: int): string[];
|
|
1708
|
+
getValues(index: int): string[] | undefined;
|
|
1689
1709
|
getValues(header: string): string[];
|
|
1690
1710
|
onDeserialization(sender: unknown): void;
|
|
1691
1711
|
remove(header: HttpResponseHeader): void;
|
|
@@ -1721,7 +1741,7 @@ export interface WebProxy$instance {
|
|
|
1721
1741
|
bypassProxyOnLocal: boolean;
|
|
1722
1742
|
credentials: ICredentials;
|
|
1723
1743
|
useDefaultCredentials: boolean;
|
|
1724
|
-
getProxy(destination: Uri): Uri;
|
|
1744
|
+
getProxy(destination: Uri): Uri | undefined;
|
|
1725
1745
|
isBypassed(host: Uri): boolean;
|
|
1726
1746
|
}
|
|
1727
1747
|
|
|
@@ -1754,7 +1774,8 @@ export type WebProxy = WebProxy$instance & __WebProxy$views;
|
|
|
1754
1774
|
export interface WebRequest$instance extends MarshalByRefObject {
|
|
1755
1775
|
authenticationLevel: AuthenticationLevel;
|
|
1756
1776
|
cachePolicy: RequestCachePolicy;
|
|
1757
|
-
connectionGroupName: string;
|
|
1777
|
+
get connectionGroupName(): string | undefined;
|
|
1778
|
+
set connectionGroupName(value: string);
|
|
1758
1779
|
contentLength: long;
|
|
1759
1780
|
contentType: string;
|
|
1760
1781
|
credentials: ICredentials;
|
|
@@ -1762,7 +1783,8 @@ export interface WebRequest$instance extends MarshalByRefObject {
|
|
|
1762
1783
|
impersonationLevel: TokenImpersonationLevel;
|
|
1763
1784
|
method: string;
|
|
1764
1785
|
preAuthenticate: boolean;
|
|
1765
|
-
proxy: IWebProxy;
|
|
1786
|
+
get proxy(): IWebProxy | undefined;
|
|
1787
|
+
set proxy(value: IWebProxy);
|
|
1766
1788
|
readonly requestUri: Uri;
|
|
1767
1789
|
timeout: int;
|
|
1768
1790
|
useDefaultCredentials: boolean;
|
|
@@ -1779,8 +1801,10 @@ export interface WebRequest$instance extends MarshalByRefObject {
|
|
|
1779
1801
|
|
|
1780
1802
|
|
|
1781
1803
|
export const WebRequest: {
|
|
1782
|
-
defaultCachePolicy: RequestCachePolicy;
|
|
1783
|
-
|
|
1804
|
+
get defaultCachePolicy(): RequestCachePolicy | undefined;
|
|
1805
|
+
set defaultCachePolicy(value: RequestCachePolicy);
|
|
1806
|
+
get defaultWebProxy(): IWebProxy | undefined;
|
|
1807
|
+
set defaultWebProxy(value: IWebProxy);
|
|
1784
1808
|
create(requestUriString: string): WebRequest;
|
|
1785
1809
|
create(requestUri: Uri): WebRequest;
|
|
1786
1810
|
createDefault(requestUri: Uri): WebRequest;
|
|
@@ -1829,7 +1853,7 @@ export type WebResponse = WebResponse$instance & __WebResponse$views;
|
|
|
1829
1853
|
|
|
1830
1854
|
|
|
1831
1855
|
export interface WriteStreamClosedEventArgs$instance extends EventArgs {
|
|
1832
|
-
readonly error: Exception;
|
|
1856
|
+
readonly error: Exception | undefined;
|
|
1833
1857
|
}
|
|
1834
1858
|
|
|
1835
1859
|
|
|
@@ -1930,13 +1954,13 @@ export type WebRequestMethods_Http = WebRequestMethods_Http$instance;
|
|
|
1930
1954
|
|
|
1931
1955
|
export abstract class WebUtility$instance {
|
|
1932
1956
|
static htmlDecode(value: string, output: TextWriter): void;
|
|
1933
|
-
static htmlDecode(value: string): string;
|
|
1957
|
+
static htmlDecode(value: string): string | undefined;
|
|
1934
1958
|
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[];
|
|
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;
|
|
1940
1964
|
}
|
|
1941
1965
|
|
|
1942
1966
|
|
|
@@ -72,7 +72,7 @@ export enum HttpVersionPolicy {
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
|
|
75
|
-
export type HeaderEncodingSelector_1<TContext> = (headerName: string, context: TContext) => Encoding;
|
|
75
|
+
export type HeaderEncodingSelector_1<TContext> = (headerName: string, context: TContext) => Encoding | undefined;
|
|
76
76
|
|
|
77
77
|
|
|
78
78
|
export interface HttpRequestOptionsKey_1$instance<TValue> {
|
|
@@ -106,7 +106,8 @@ export type ByteArrayContent = ByteArrayContent$instance & __ByteArrayContent$vi
|
|
|
106
106
|
|
|
107
107
|
|
|
108
108
|
export interface DelegatingHandler$instance extends HttpMessageHandler$instance {
|
|
109
|
-
innerHandler: HttpMessageHandler;
|
|
109
|
+
get innerHandler(): HttpMessageHandler | undefined;
|
|
110
|
+
set innerHandler(value: HttpMessageHandler);
|
|
110
111
|
dispose(): void;
|
|
111
112
|
}
|
|
112
113
|
|
|
@@ -213,16 +214,20 @@ export interface HttpClientHandler$instance extends HttpMessageHandler$instance
|
|
|
213
214
|
readonly clientCertificates: X509CertificateCollection;
|
|
214
215
|
cookieContainer: CookieContainer;
|
|
215
216
|
credentials: ICredentials;
|
|
216
|
-
defaultProxyCredentials: ICredentials;
|
|
217
|
+
get defaultProxyCredentials(): ICredentials | undefined;
|
|
218
|
+
set defaultProxyCredentials(value: ICredentials);
|
|
217
219
|
maxAutomaticRedirections: int;
|
|
218
220
|
maxConnectionsPerServer: int;
|
|
219
221
|
maxRequestContentBufferSize: long;
|
|
220
222
|
maxResponseHeadersLength: int;
|
|
221
|
-
meterFactory: IMeterFactory;
|
|
223
|
+
get meterFactory(): IMeterFactory | undefined;
|
|
224
|
+
set meterFactory(value: IMeterFactory);
|
|
222
225
|
preAuthenticate: boolean;
|
|
223
|
-
readonly properties: IDictionary_2<System_Internal.String, unknown>;
|
|
224
|
-
proxy: IWebProxy;
|
|
225
|
-
|
|
226
|
+
readonly properties: IDictionary_2<System_Internal.String, unknown | undefined>;
|
|
227
|
+
get proxy(): IWebProxy | undefined;
|
|
228
|
+
set proxy(value: IWebProxy);
|
|
229
|
+
get serverCertificateCustomValidationCallback(): Func_5<HttpRequestMessage, X509Certificate2 | undefined, X509Chain | undefined, SslPolicyErrors, System_Internal.Boolean> | undefined;
|
|
230
|
+
set serverCertificateCustomValidationCallback(value: Func_5<HttpRequestMessage, X509Certificate2 | undefined, X509Chain | undefined, SslPolicyErrors, System_Internal.Boolean>);
|
|
226
231
|
sslProtocols: SslProtocols;
|
|
227
232
|
readonly supportsAutomaticDecompression: boolean;
|
|
228
233
|
readonly supportsProxy: boolean;
|
|
@@ -236,7 +241,7 @@ export interface HttpClientHandler$instance extends HttpMessageHandler$instance
|
|
|
236
241
|
|
|
237
242
|
export const HttpClientHandler: {
|
|
238
243
|
new(): HttpClientHandler;
|
|
239
|
-
readonly dangerousAcceptAnyServerCertificateValidator: Func_5<HttpRequestMessage, X509Certificate2, X509Chain, SslPolicyErrors, System_Internal.Boolean>;
|
|
244
|
+
readonly dangerousAcceptAnyServerCertificateValidator: Func_5<HttpRequestMessage, X509Certificate2 | undefined, X509Chain | undefined, SslPolicyErrors, System_Internal.Boolean>;
|
|
240
245
|
};
|
|
241
246
|
|
|
242
247
|
|
|
@@ -423,7 +428,7 @@ export interface HttpRequestMessage$instance {
|
|
|
423
428
|
readonly headers: HttpRequestHeaders;
|
|
424
429
|
method: HttpMethod;
|
|
425
430
|
readonly options: HttpRequestOptions;
|
|
426
|
-
readonly properties: IDictionary_2<System_Internal.String, unknown>;
|
|
431
|
+
readonly properties: IDictionary_2<System_Internal.String, unknown | undefined>;
|
|
427
432
|
requestUri: Uri;
|
|
428
433
|
version: Version;
|
|
429
434
|
versionPolicy: HttpVersionPolicy;
|
|
@@ -475,8 +480,10 @@ export interface HttpResponseMessage$instance {
|
|
|
475
480
|
content: HttpContent;
|
|
476
481
|
readonly headers: HttpResponseHeaders;
|
|
477
482
|
readonly isSuccessStatusCode: boolean;
|
|
478
|
-
reasonPhrase: string;
|
|
479
|
-
|
|
483
|
+
get reasonPhrase(): string | undefined;
|
|
484
|
+
set reasonPhrase(value: string);
|
|
485
|
+
get requestMessage(): HttpRequestMessage | undefined;
|
|
486
|
+
set requestMessage(value: HttpRequestMessage);
|
|
480
487
|
statusCode: HttpStatusCode;
|
|
481
488
|
readonly trailingHeaders: HttpResponseHeaders;
|
|
482
489
|
version: Version;
|
|
@@ -518,7 +525,8 @@ export type MessageProcessingHandler = MessageProcessingHandler$instance & __Mes
|
|
|
518
525
|
|
|
519
526
|
|
|
520
527
|
export interface MultipartContent$instance extends HttpContent$instance {
|
|
521
|
-
headerEncodingSelector: HeaderEncodingSelector_1<HttpContent
|
|
528
|
+
get headerEncodingSelector(): HeaderEncodingSelector_1<HttpContent> | undefined;
|
|
529
|
+
set headerEncodingSelector(value: HeaderEncodingSelector_1<HttpContent>);
|
|
522
530
|
add(content: HttpContent): void;
|
|
523
531
|
dispose(): void;
|
|
524
532
|
getEnumerator(): IEnumerator_1<HttpContent>;
|
|
@@ -595,14 +603,17 @@ export const SocketsHttpConnectionContext: {
|
|
|
595
603
|
export type SocketsHttpConnectionContext = SocketsHttpConnectionContext$instance;
|
|
596
604
|
|
|
597
605
|
export interface SocketsHttpHandler$instance extends HttpMessageHandler$instance {
|
|
598
|
-
activityHeadersPropagator: DistributedContextPropagator;
|
|
606
|
+
get activityHeadersPropagator(): DistributedContextPropagator | undefined;
|
|
607
|
+
set activityHeadersPropagator(value: DistributedContextPropagator);
|
|
599
608
|
allowAutoRedirect: boolean;
|
|
600
609
|
automaticDecompression: DecompressionMethods;
|
|
601
|
-
connectCallback: Func_3<SocketsHttpConnectionContext, CancellationToken, ValueTask_1<Stream
|
|
610
|
+
get connectCallback(): Func_3<SocketsHttpConnectionContext | undefined, CancellationToken, ValueTask_1<Stream>> | undefined;
|
|
611
|
+
set connectCallback(value: Func_3<SocketsHttpConnectionContext | undefined, CancellationToken, ValueTask_1<Stream>>);
|
|
602
612
|
connectTimeout: TimeSpan;
|
|
603
613
|
cookieContainer: CookieContainer;
|
|
604
614
|
credentials: ICredentials;
|
|
605
|
-
defaultProxyCredentials: ICredentials;
|
|
615
|
+
get defaultProxyCredentials(): ICredentials | undefined;
|
|
616
|
+
set defaultProxyCredentials(value: ICredentials);
|
|
606
617
|
enableMultipleHttp2Connections: boolean;
|
|
607
618
|
enableMultipleHttp3Connections: boolean;
|
|
608
619
|
expect100ContinueTimeout: TimeSpan;
|
|
@@ -614,16 +625,21 @@ export interface SocketsHttpHandler$instance extends HttpMessageHandler$instance
|
|
|
614
625
|
maxConnectionsPerServer: int;
|
|
615
626
|
maxResponseDrainSize: int;
|
|
616
627
|
maxResponseHeadersLength: int;
|
|
617
|
-
meterFactory: IMeterFactory;
|
|
618
|
-
|
|
628
|
+
get meterFactory(): IMeterFactory | undefined;
|
|
629
|
+
set meterFactory(value: IMeterFactory);
|
|
630
|
+
get plaintextStreamFilter(): Func_3<SocketsHttpPlaintextStreamFilterContext | undefined, CancellationToken, ValueTask_1<Stream>> | undefined;
|
|
631
|
+
set plaintextStreamFilter(value: Func_3<SocketsHttpPlaintextStreamFilterContext | undefined, CancellationToken, ValueTask_1<Stream>>);
|
|
619
632
|
pooledConnectionIdleTimeout: TimeSpan;
|
|
620
633
|
pooledConnectionLifetime: TimeSpan;
|
|
621
634
|
preAuthenticate: boolean;
|
|
622
|
-
readonly properties: IDictionary_2<System_Internal.String, unknown>;
|
|
623
|
-
proxy: IWebProxy;
|
|
624
|
-
|
|
635
|
+
readonly properties: IDictionary_2<System_Internal.String, unknown | undefined>;
|
|
636
|
+
get proxy(): IWebProxy | undefined;
|
|
637
|
+
set proxy(value: IWebProxy);
|
|
638
|
+
get requestHeaderEncodingSelector(): HeaderEncodingSelector_1<HttpRequestMessage> | undefined;
|
|
639
|
+
set requestHeaderEncodingSelector(value: HeaderEncodingSelector_1<HttpRequestMessage>);
|
|
625
640
|
responseDrainTimeout: TimeSpan;
|
|
626
|
-
responseHeaderEncodingSelector: HeaderEncodingSelector_1<HttpRequestMessage
|
|
641
|
+
get responseHeaderEncodingSelector(): HeaderEncodingSelector_1<HttpRequestMessage> | undefined;
|
|
642
|
+
set responseHeaderEncodingSelector(value: HeaderEncodingSelector_1<HttpRequestMessage>);
|
|
627
643
|
sslOptions: SslClientAuthenticationOptions;
|
|
628
644
|
useCookies: boolean;
|
|
629
645
|
useProxy: boolean;
|
|
@@ -104,7 +104,7 @@ export type HttpHeadersNonValidated_Enumerator = HttpHeadersNonValidated_Enumera
|
|
|
104
104
|
|
|
105
105
|
|
|
106
106
|
export interface AuthenticationHeaderValue$instance {
|
|
107
|
-
readonly parameter: string;
|
|
107
|
+
readonly parameter: string | undefined;
|
|
108
108
|
readonly scheme: string;
|
|
109
109
|
equals(obj: unknown): boolean;
|
|
110
110
|
getHashCode(): int;
|
|
@@ -172,7 +172,8 @@ export interface ContentDispositionHeaderValue$instance {
|
|
|
172
172
|
creationDate: Nullable_1<DateTimeOffset>;
|
|
173
173
|
dispositionType: string;
|
|
174
174
|
fileName: string;
|
|
175
|
-
fileNameStar: string;
|
|
175
|
+
get fileNameStar(): string | undefined;
|
|
176
|
+
set fileNameStar(value: string);
|
|
176
177
|
modificationDate: Nullable_1<DateTimeOffset>;
|
|
177
178
|
name: string;
|
|
178
179
|
readonly parameters: ICollection_1<NameValueHeaderValue>;
|
|
@@ -260,13 +261,17 @@ export type EntityTagHeaderValue = EntityTagHeaderValue$instance & __EntityTagHe
|
|
|
260
261
|
|
|
261
262
|
export interface HttpContentHeaders$instance extends HttpHeaders$instance {
|
|
262
263
|
readonly allow: ICollection_1<System_Internal.String>;
|
|
263
|
-
contentDisposition: ContentDispositionHeaderValue;
|
|
264
|
+
get contentDisposition(): ContentDispositionHeaderValue | undefined;
|
|
265
|
+
set contentDisposition(value: ContentDispositionHeaderValue);
|
|
264
266
|
readonly contentEncoding: ICollection_1<System_Internal.String>;
|
|
265
267
|
readonly contentLanguage: ICollection_1<System_Internal.String>;
|
|
266
268
|
contentLength: Nullable_1<System_Internal.Int64>;
|
|
267
|
-
contentLocation: Uri;
|
|
268
|
-
|
|
269
|
-
|
|
269
|
+
get contentLocation(): Uri | undefined;
|
|
270
|
+
set contentLocation(value: Uri);
|
|
271
|
+
get contentMD5(): byte[] | undefined;
|
|
272
|
+
set contentMD5(value: byte[]);
|
|
273
|
+
get contentRange(): ContentRangeHeaderValue | undefined;
|
|
274
|
+
set contentRange(value: ContentRangeHeaderValue);
|
|
270
275
|
contentType: MediaTypeHeaderValue;
|
|
271
276
|
expires: Nullable_1<DateTimeOffset>;
|
|
272
277
|
lastModified: Nullable_1<DateTimeOffset>;
|
|
@@ -350,26 +355,34 @@ export interface HttpRequestHeaders$instance extends HttpHeaders$instance {
|
|
|
350
355
|
readonly acceptCharset: HttpHeaderValueCollection_1<StringWithQualityHeaderValue>;
|
|
351
356
|
readonly acceptEncoding: HttpHeaderValueCollection_1<StringWithQualityHeaderValue>;
|
|
352
357
|
readonly acceptLanguage: HttpHeaderValueCollection_1<StringWithQualityHeaderValue>;
|
|
353
|
-
authorization: AuthenticationHeaderValue;
|
|
354
|
-
|
|
358
|
+
get authorization(): AuthenticationHeaderValue | undefined;
|
|
359
|
+
set authorization(value: AuthenticationHeaderValue);
|
|
360
|
+
get cacheControl(): CacheControlHeaderValue | undefined;
|
|
361
|
+
set cacheControl(value: CacheControlHeaderValue);
|
|
355
362
|
readonly connection: HttpHeaderValueCollection_1<System_Internal.String>;
|
|
356
363
|
connectionClose: Nullable_1<System_Internal.Boolean>;
|
|
357
364
|
date: Nullable_1<DateTimeOffset>;
|
|
358
365
|
readonly expect: HttpHeaderValueCollection_1<NameValueWithParametersHeaderValue>;
|
|
359
366
|
expectContinue: Nullable_1<System_Internal.Boolean>;
|
|
360
|
-
from_: string;
|
|
367
|
+
get from_(): string | undefined;
|
|
368
|
+
set from_(value: string);
|
|
361
369
|
host: string;
|
|
362
370
|
readonly ifMatch: HttpHeaderValueCollection_1<EntityTagHeaderValue>;
|
|
363
371
|
ifModifiedSince: Nullable_1<DateTimeOffset>;
|
|
364
372
|
readonly ifNoneMatch: HttpHeaderValueCollection_1<EntityTagHeaderValue>;
|
|
365
|
-
ifRange: RangeConditionHeaderValue;
|
|
373
|
+
get ifRange(): RangeConditionHeaderValue | undefined;
|
|
374
|
+
set ifRange(value: RangeConditionHeaderValue);
|
|
366
375
|
ifUnmodifiedSince: Nullable_1<DateTimeOffset>;
|
|
367
376
|
maxForwards: Nullable_1<System_Internal.Int32>;
|
|
368
377
|
readonly pragma: HttpHeaderValueCollection_1<NameValueHeaderValue>;
|
|
369
|
-
protocol: string;
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
378
|
+
get protocol(): string | undefined;
|
|
379
|
+
set protocol(value: string);
|
|
380
|
+
get proxyAuthorization(): AuthenticationHeaderValue | undefined;
|
|
381
|
+
set proxyAuthorization(value: AuthenticationHeaderValue);
|
|
382
|
+
get range(): RangeHeaderValue | undefined;
|
|
383
|
+
set range(value: RangeHeaderValue);
|
|
384
|
+
get referrer(): Uri | undefined;
|
|
385
|
+
set referrer(value: Uri);
|
|
373
386
|
readonly TE: HttpHeaderValueCollection_1<TransferCodingWithQualityHeaderValue>;
|
|
374
387
|
readonly trailer: HttpHeaderValueCollection_1<System_Internal.String>;
|
|
375
388
|
readonly transferEncoding: HttpHeaderValueCollection_1<TransferCodingHeaderValue>;
|
|
@@ -399,15 +412,18 @@ export type HttpRequestHeaders = HttpRequestHeaders$instance & __HttpRequestHead
|
|
|
399
412
|
export interface HttpResponseHeaders$instance extends HttpHeaders$instance {
|
|
400
413
|
readonly acceptRanges: HttpHeaderValueCollection_1<System_Internal.String>;
|
|
401
414
|
age: Nullable_1<TimeSpan>;
|
|
402
|
-
cacheControl: CacheControlHeaderValue;
|
|
415
|
+
get cacheControl(): CacheControlHeaderValue | undefined;
|
|
416
|
+
set cacheControl(value: CacheControlHeaderValue);
|
|
403
417
|
readonly connection: HttpHeaderValueCollection_1<System_Internal.String>;
|
|
404
418
|
connectionClose: Nullable_1<System_Internal.Boolean>;
|
|
405
419
|
date: Nullable_1<DateTimeOffset>;
|
|
406
|
-
eTag: EntityTagHeaderValue;
|
|
420
|
+
get eTag(): EntityTagHeaderValue | undefined;
|
|
421
|
+
set eTag(value: EntityTagHeaderValue);
|
|
407
422
|
location: Uri;
|
|
408
423
|
readonly pragma: HttpHeaderValueCollection_1<NameValueHeaderValue>;
|
|
409
424
|
readonly proxyAuthenticate: HttpHeaderValueCollection_1<AuthenticationHeaderValue>;
|
|
410
|
-
retryAfter: RetryConditionHeaderValue;
|
|
425
|
+
get retryAfter(): RetryConditionHeaderValue | undefined;
|
|
426
|
+
set retryAfter(value: RetryConditionHeaderValue);
|
|
411
427
|
readonly server: HttpHeaderValueCollection_1<ProductInfoHeaderValue>;
|
|
412
428
|
readonly trailer: HttpHeaderValueCollection_1<System_Internal.String>;
|
|
413
429
|
readonly transferEncoding: HttpHeaderValueCollection_1<TransferCodingHeaderValue>;
|
|
@@ -436,7 +452,8 @@ export type HttpResponseHeaders = HttpResponseHeaders$instance & __HttpResponseH
|
|
|
436
452
|
|
|
437
453
|
|
|
438
454
|
export interface MediaTypeHeaderValue$instance {
|
|
439
|
-
charSet: string;
|
|
455
|
+
get charSet(): string | undefined;
|
|
456
|
+
set charSet(value: string);
|
|
440
457
|
mediaType: string;
|
|
441
458
|
readonly parameters: ICollection_1<NameValueHeaderValue>;
|
|
442
459
|
equals(obj: unknown): boolean;
|
|
@@ -588,7 +605,7 @@ export type ProductInfoHeaderValue = ProductInfoHeaderValue$instance & __Product
|
|
|
588
605
|
|
|
589
606
|
export interface RangeConditionHeaderValue$instance {
|
|
590
607
|
readonly date: Nullable_1<DateTimeOffset>;
|
|
591
|
-
readonly entityTag: EntityTagHeaderValue;
|
|
608
|
+
readonly entityTag: EntityTagHeaderValue | undefined;
|
|
592
609
|
equals(obj: unknown): boolean;
|
|
593
610
|
getHashCode(): int;
|
|
594
611
|
toString(): string;
|
|
@@ -762,7 +779,7 @@ export type TransferCodingWithQualityHeaderValue = TransferCodingWithQualityHead
|
|
|
762
779
|
|
|
763
780
|
export interface ViaHeaderValue$instance {
|
|
764
781
|
readonly comment: string;
|
|
765
|
-
readonly protocolName: string;
|
|
782
|
+
readonly protocolName: string | undefined;
|
|
766
783
|
readonly protocolVersion: string;
|
|
767
784
|
readonly receivedBy: string;
|
|
768
785
|
equals(obj: unknown): boolean;
|