@tsonic/dotnet 0.8.2 → 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.CSharp.RuntimeBinder/internal/index.d.ts +18 -18
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +1 -1
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +2 -2
- package/Microsoft.Win32/internal/index.d.ts +10 -10
- package/System/internal/index.d.ts +964 -950
- package/System.Buffers/internal/index.d.ts +2 -2
- package/System.CodeDom.Compiler/internal/index.d.ts +10 -10
- package/System.Collections/internal/index.d.ts +30 -24
- package/System.Collections.Concurrent/internal/index.d.ts +10 -10
- package/System.Collections.Frozen/bindings.json +20 -20
- package/System.Collections.Frozen/internal/index.d.ts +6 -6
- package/System.Collections.Frozen/internal/metadata.json +10 -10
- package/System.Collections.Generic/bindings.json +20 -44
- package/System.Collections.Generic/internal/index.d.ts +54 -54
- package/System.Collections.Generic/internal/metadata.json +10 -26
- package/System.Collections.Immutable/internal/index.d.ts +88 -88
- package/System.Collections.ObjectModel/internal/index.d.ts +15 -15
- package/System.Collections.Specialized/internal/index.d.ts +53 -49
- package/System.ComponentModel/internal/index.d.ts +388 -376
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +55 -45
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +3 -2
- package/System.ComponentModel.Design/internal/index.d.ts +36 -36
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +20 -20
- package/System.Data/internal/index.d.ts +171 -163
- package/System.Data.Common/internal/index.d.ts +36 -28
- package/System.Data.SqlTypes/internal/index.d.ts +23 -23
- package/System.Diagnostics/internal/index.d.ts +250 -228
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +37 -23
- package/System.Diagnostics.Contracts/internal/index.d.ts +4 -4
- package/System.Diagnostics.Metrics/internal/index.d.ts +34 -29
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +4 -4
- package/System.Diagnostics.Tracing/internal/index.d.ts +26 -24
- package/System.Drawing/internal/index.d.ts +76 -76
- package/System.Dynamic/internal/index.d.ts +26 -26
- package/System.Formats.Asn1/internal/index.d.ts +4 -4
- package/System.Formats.Tar/internal/index.d.ts +5 -4
- package/System.Globalization/internal/index.d.ts +22 -20
- package/System.IO/internal/index.d.ts +106 -103
- package/System.IO.Compression/internal/index.d.ts +24 -24
- package/System.IO.Enumeration/internal/index.d.ts +7 -5
- package/System.IO.IsolatedStorage/internal/index.d.ts +9 -9
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +8 -8
- package/System.IO.Pipelines/internal/index.d.ts +5 -5
- package/System.IO.Pipes/internal/index.d.ts +4 -4
- package/System.Linq/internal/index.d.ts +207 -207
- package/System.Linq.Expressions/internal/index.d.ts +160 -160
- package/System.Net/internal/index.d.ts +157 -131
- package/System.Net.Cache/internal/index.d.ts +2 -2
- package/System.Net.Http/internal/index.d.ts +69 -53
- package/System.Net.Http.Headers/internal/index.d.ts +62 -45
- package/System.Net.Http.Json/internal/index.d.ts +38 -38
- package/System.Net.Http.Metrics/internal/index.d.ts +1 -1
- package/System.Net.Mail/internal/index.d.ts +80 -70
- package/System.Net.Mime/internal/index.d.ts +4 -2
- package/System.Net.NetworkInformation/internal/index.d.ts +23 -23
- package/System.Net.Quic/internal/index.d.ts +4 -3
- package/System.Net.Security/internal/index.d.ts +65 -49
- package/System.Net.ServerSentEvents/internal/index.d.ts +3 -2
- package/System.Net.Sockets/internal/index.d.ts +49 -42
- package/System.Net.WebSockets/internal/index.d.ts +35 -29
- package/System.Numerics/bindings.json +96 -72
- package/System.Numerics/internal/index.d.ts +93 -91
- package/System.Numerics/internal/metadata.json +64 -48
- package/System.Reflection/internal/index.d.ts +129 -126
- package/System.Reflection.Emit/internal/index.d.ts +105 -105
- package/System.Reflection.Metadata/internal/index.d.ts +15 -15
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +4 -4
- package/System.Reflection.PortableExecutable/internal/index.d.ts +2 -2
- package/System.Resources/internal/index.d.ts +20 -19
- package/System.Runtime/internal/index.d.ts +6 -5
- package/System.Runtime.CompilerServices/internal/index.d.ts +30 -28
- package/System.Runtime.InteropServices/internal/index.d.ts +85 -83
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +9 -9
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +20 -20
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +28 -26
- package/System.Runtime.Loader/internal/index.d.ts +2 -2
- package/System.Runtime.Remoting/internal/index.d.ts +1 -1
- package/System.Runtime.Serialization/internal/index.d.ts +66 -54
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +3 -3
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +4 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +5 -4
- package/System.Runtime.Serialization.Json/internal/index.d.ts +22 -21
- package/System.Runtime.Versioning/internal/index.d.ts +12 -9
- package/System.Security/internal/index.d.ts +62 -52
- package/System.Security.AccessControl/internal/index.d.ts +29 -25
- package/System.Security.Authentication/internal/index.d.ts +4 -4
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +8 -8
- package/System.Security.Claims/internal/index.d.ts +21 -15
- package/System.Security.Cryptography/internal/index.d.ts +155 -141
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +83 -82
- package/System.Security.Permissions/internal/index.d.ts +2 -2
- package/System.Security.Principal/internal/index.d.ts +3 -3
- package/System.Text/internal/index.d.ts +48 -46
- package/System.Text.Json/internal/index.d.ts +87 -81
- package/System.Text.Json.Nodes/internal/index.d.ts +41 -41
- package/System.Text.Json.Schema/internal/index.d.ts +4 -3
- package/System.Text.Json.Serialization/internal/index.d.ts +5 -4
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +55 -30
- package/System.Text.RegularExpressions/internal/index.d.ts +5 -5
- package/System.Text.Unicode/internal/index.d.ts +4 -4
- package/System.Threading/internal/index.d.ts +86 -85
- package/System.Threading.Channels/internal/index.d.ts +8 -8
- package/System.Threading.Tasks/internal/index.d.ts +82 -82
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +25 -26
- package/System.Threading.Tasks.Sources/internal/index.d.ts +4 -4
- package/System.Timers/internal/index.d.ts +5 -3
- package/System.Transactions/internal/index.d.ts +18 -16
- package/System.Web/internal/index.d.ts +30 -30
- package/System.Windows.Input/internal/index.d.ts +2 -2
- package/System.Xml/internal/index.d.ts +162 -161
- package/System.Xml.Linq/internal/index.d.ts +38 -37
- package/System.Xml.Resolvers/internal/index.d.ts +5 -5
- package/System.Xml.Schema/internal/index.d.ts +133 -88
- package/System.Xml.Serialization/internal/index.d.ts +138 -117
- package/System.Xml.XPath/internal/index.d.ts +12 -12
- package/System.Xml.Xsl/internal/index.d.ts +34 -34
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +16 -16
- package/__internal/extensions/index.d.ts +371 -371
- package/package.json +1 -1
|
@@ -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 | undefined;
|
|
109
|
+
get innerHandler(): HttpMessageHandler | undefined;
|
|
110
|
+
set innerHandler(value: HttpMessageHandler);
|
|
110
111
|
dispose(): void;
|
|
111
112
|
}
|
|
112
113
|
|
|
@@ -147,31 +148,31 @@ export interface HttpClient$instance extends HttpMessageInvoker$instance {
|
|
|
147
148
|
maxResponseContentBufferSize: long;
|
|
148
149
|
timeout: TimeSpan;
|
|
149
150
|
cancelPendingRequests(): void;
|
|
150
|
-
deleteAsync(requestUri: string
|
|
151
|
-
deleteAsync(requestUri: Uri
|
|
152
|
-
deleteAsync(requestUri: string
|
|
153
|
-
deleteAsync(requestUri: Uri
|
|
151
|
+
deleteAsync(requestUri: string): Task_1<HttpResponseMessage>;
|
|
152
|
+
deleteAsync(requestUri: Uri): Task_1<HttpResponseMessage>;
|
|
153
|
+
deleteAsync(requestUri: string, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
154
|
+
deleteAsync(requestUri: Uri, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
154
155
|
dispose(): void;
|
|
155
|
-
getAsync(requestUri: string
|
|
156
|
-
getAsync(requestUri: Uri
|
|
157
|
-
getAsync(requestUri: string
|
|
158
|
-
getAsync(requestUri: Uri
|
|
159
|
-
getAsync(requestUri: string
|
|
160
|
-
getAsync(requestUri: Uri
|
|
161
|
-
getAsync(requestUri: string
|
|
162
|
-
getAsync(requestUri: Uri
|
|
163
|
-
getByteArrayAsync(requestUri: string
|
|
164
|
-
getByteArrayAsync(requestUri: Uri
|
|
165
|
-
getByteArrayAsync(requestUri: string
|
|
166
|
-
getByteArrayAsync(requestUri: Uri
|
|
167
|
-
getStreamAsync(requestUri: string
|
|
168
|
-
getStreamAsync(requestUri: string
|
|
169
|
-
getStreamAsync(requestUri: Uri
|
|
170
|
-
getStreamAsync(requestUri: Uri
|
|
171
|
-
getStringAsync(requestUri: string
|
|
172
|
-
getStringAsync(requestUri: Uri
|
|
173
|
-
getStringAsync(requestUri: string
|
|
174
|
-
getStringAsync(requestUri: Uri
|
|
156
|
+
getAsync(requestUri: string): Task_1<HttpResponseMessage>;
|
|
157
|
+
getAsync(requestUri: Uri): Task_1<HttpResponseMessage>;
|
|
158
|
+
getAsync(requestUri: string, completionOption: HttpCompletionOption): Task_1<HttpResponseMessage>;
|
|
159
|
+
getAsync(requestUri: Uri, completionOption: HttpCompletionOption): Task_1<HttpResponseMessage>;
|
|
160
|
+
getAsync(requestUri: string, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
161
|
+
getAsync(requestUri: Uri, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
162
|
+
getAsync(requestUri: string, completionOption: HttpCompletionOption, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
163
|
+
getAsync(requestUri: Uri, completionOption: HttpCompletionOption, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
164
|
+
getByteArrayAsync(requestUri: string): Task_1<byte[]>;
|
|
165
|
+
getByteArrayAsync(requestUri: Uri): Task_1<byte[]>;
|
|
166
|
+
getByteArrayAsync(requestUri: string, cancellationToken: CancellationToken): Task_1<byte[]>;
|
|
167
|
+
getByteArrayAsync(requestUri: Uri, cancellationToken: CancellationToken): Task_1<byte[]>;
|
|
168
|
+
getStreamAsync(requestUri: string): Task_1<Stream>;
|
|
169
|
+
getStreamAsync(requestUri: string, cancellationToken: CancellationToken): Task_1<Stream>;
|
|
170
|
+
getStreamAsync(requestUri: Uri): Task_1<Stream>;
|
|
171
|
+
getStreamAsync(requestUri: Uri, cancellationToken: CancellationToken): Task_1<Stream>;
|
|
172
|
+
getStringAsync(requestUri: string): Task_1<System_Internal.String>;
|
|
173
|
+
getStringAsync(requestUri: Uri): Task_1<System_Internal.String>;
|
|
174
|
+
getStringAsync(requestUri: string, cancellationToken: CancellationToken): Task_1<System_Internal.String>;
|
|
175
|
+
getStringAsync(requestUri: Uri, cancellationToken: CancellationToken): Task_1<System_Internal.String>;
|
|
175
176
|
patchAsync(requestUri: string, content: HttpContent): Task_1<HttpResponseMessage>;
|
|
176
177
|
patchAsync(requestUri: Uri, content: HttpContent): Task_1<HttpResponseMessage>;
|
|
177
178
|
patchAsync(requestUri: string, content: HttpContent, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
@@ -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 | undefined;
|
|
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 | undefined;
|
|
223
|
+
get meterFactory(): IMeterFactory | undefined;
|
|
224
|
+
set meterFactory(value: IMeterFactory);
|
|
222
225
|
preAuthenticate: boolean;
|
|
223
226
|
readonly properties: IDictionary_2<System_Internal.String, unknown | undefined>;
|
|
224
|
-
proxy: IWebProxy | undefined;
|
|
225
|
-
|
|
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;
|
|
@@ -249,11 +254,11 @@ export type HttpClientHandler = HttpClientHandler$instance & __HttpClientHandler
|
|
|
249
254
|
|
|
250
255
|
export interface HttpContent$instance {
|
|
251
256
|
readonly headers: HttpContentHeaders;
|
|
252
|
-
copyTo(stream: Stream, context: TransportContext
|
|
257
|
+
copyTo(stream: Stream, context: TransportContext, cancellationToken: CancellationToken): void;
|
|
253
258
|
copyToAsync(stream: Stream): Task;
|
|
254
259
|
copyToAsync(stream: Stream, cancellationToken: CancellationToken): Task;
|
|
255
|
-
copyToAsync(stream: Stream, context: TransportContext
|
|
256
|
-
copyToAsync(stream: Stream, context: TransportContext
|
|
260
|
+
copyToAsync(stream: Stream, context: TransportContext): Task;
|
|
261
|
+
copyToAsync(stream: Stream, context: TransportContext, cancellationToken: CancellationToken): Task;
|
|
257
262
|
dispose(): void;
|
|
258
263
|
loadIntoBufferAsync(): Task;
|
|
259
264
|
loadIntoBufferAsync(maxBufferSize: long): Task;
|
|
@@ -384,7 +389,7 @@ export interface HttpProtocolException$instance extends HttpIOException$instance
|
|
|
384
389
|
|
|
385
390
|
|
|
386
391
|
export const HttpProtocolException: {
|
|
387
|
-
new(errorCode: long, message: string, innerException: Exception
|
|
392
|
+
new(errorCode: long, message: string, innerException: Exception): HttpProtocolException;
|
|
388
393
|
};
|
|
389
394
|
|
|
390
395
|
|
|
@@ -398,16 +403,16 @@ export type HttpProtocolException = HttpProtocolException$instance & __HttpProto
|
|
|
398
403
|
export interface HttpRequestException$instance extends Exception {
|
|
399
404
|
readonly httpRequestError: HttpRequestError;
|
|
400
405
|
readonly statusCode: Nullable_1<HttpStatusCode>;
|
|
401
|
-
getObjectData(info: SerializationInfo
|
|
406
|
+
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
402
407
|
}
|
|
403
408
|
|
|
404
409
|
|
|
405
410
|
export const HttpRequestException: {
|
|
406
411
|
new(): HttpRequestException;
|
|
407
|
-
new(message: string
|
|
408
|
-
new(message: string
|
|
409
|
-
new(message: string
|
|
410
|
-
new(httpRequestError: HttpRequestError, message: string
|
|
412
|
+
new(message: string): HttpRequestException;
|
|
413
|
+
new(message: string, inner: Exception): HttpRequestException;
|
|
414
|
+
new(message: string, inner: Exception, statusCode: Nullable_1<HttpStatusCode>): HttpRequestException;
|
|
415
|
+
new(httpRequestError: HttpRequestError, message: string, inner: Exception, statusCode: Nullable_1<HttpStatusCode>): HttpRequestException;
|
|
411
416
|
};
|
|
412
417
|
|
|
413
418
|
|
|
@@ -434,8 +439,8 @@ export interface HttpRequestMessage$instance {
|
|
|
434
439
|
|
|
435
440
|
export const HttpRequestMessage: {
|
|
436
441
|
new(): HttpRequestMessage;
|
|
437
|
-
new(method: HttpMethod, requestUri: Uri
|
|
438
|
-
new(method: HttpMethod, requestUri: string
|
|
442
|
+
new(method: HttpMethod, requestUri: Uri): HttpRequestMessage;
|
|
443
|
+
new(method: HttpMethod, requestUri: string): HttpRequestMessage;
|
|
439
444
|
};
|
|
440
445
|
|
|
441
446
|
|
|
@@ -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 | undefined;
|
|
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> | undefined;
|
|
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 | undefined;
|
|
606
|
+
get activityHeadersPropagator(): DistributedContextPropagator | undefined;
|
|
607
|
+
set activityHeadersPropagator(value: DistributedContextPropagator);
|
|
599
608
|
allowAutoRedirect: boolean;
|
|
600
609
|
automaticDecompression: DecompressionMethods;
|
|
601
|
-
connectCallback: Func_3<SocketsHttpConnectionContext | undefined, CancellationToken, ValueTask_1<Stream>> | undefined;
|
|
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 | undefined;
|
|
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 | undefined;
|
|
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
635
|
readonly properties: IDictionary_2<System_Internal.String, unknown | undefined>;
|
|
623
|
-
proxy: IWebProxy | undefined;
|
|
624
|
-
|
|
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> | undefined;
|
|
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;
|
|
@@ -683,8 +699,8 @@ export interface StringContent$instance extends ByteArrayContent$instance {
|
|
|
683
699
|
|
|
684
700
|
export const StringContent: {
|
|
685
701
|
new(content: string): StringContent;
|
|
686
|
-
new(content: string, mediaType: MediaTypeHeaderValue
|
|
687
|
-
new(content: string, encoding: Encoding
|
|
702
|
+
new(content: string, mediaType: MediaTypeHeaderValue): StringContent;
|
|
703
|
+
new(content: string, encoding: Encoding): StringContent;
|
|
688
704
|
new(content: string, encoding: Encoding, mediaType: string): StringContent;
|
|
689
705
|
new(content: string, encoding: Encoding, mediaType: MediaTypeHeaderValue): StringContent;
|
|
690
706
|
};
|
|
@@ -19,7 +19,7 @@ import type { Boolean as ClrBoolean, Byte, DateTimeOffset, Double, ICloneable, I
|
|
|
19
19
|
export interface HeaderStringValues$instance {
|
|
20
20
|
readonly count: int;
|
|
21
21
|
getEnumerator(): HeaderStringValues_Enumerator;
|
|
22
|
-
toString(): string
|
|
22
|
+
toString(): string;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
|
|
@@ -114,7 +114,7 @@ export interface AuthenticationHeaderValue$instance {
|
|
|
114
114
|
|
|
115
115
|
export const AuthenticationHeaderValue: {
|
|
116
116
|
new(scheme: string): AuthenticationHeaderValue;
|
|
117
|
-
new(scheme: string, parameter: string
|
|
117
|
+
new(scheme: string, parameter: string): AuthenticationHeaderValue;
|
|
118
118
|
parse(input: string): AuthenticationHeaderValue;
|
|
119
119
|
tryParse(input: string, parsedValue: AuthenticationHeaderValue): boolean;
|
|
120
120
|
};
|
|
@@ -154,7 +154,7 @@ export interface CacheControlHeaderValue$instance {
|
|
|
154
154
|
|
|
155
155
|
export const CacheControlHeaderValue: {
|
|
156
156
|
new(): CacheControlHeaderValue;
|
|
157
|
-
parse(input: string
|
|
157
|
+
parse(input: string): CacheControlHeaderValue;
|
|
158
158
|
tryParse(input: string, parsedValue: CacheControlHeaderValue): boolean;
|
|
159
159
|
};
|
|
160
160
|
|
|
@@ -172,22 +172,23 @@ export interface ContentDispositionHeaderValue$instance {
|
|
|
172
172
|
creationDate: Nullable_1<DateTimeOffset>;
|
|
173
173
|
dispositionType: string;
|
|
174
174
|
fileName: string;
|
|
175
|
-
fileNameStar: string | undefined;
|
|
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>;
|
|
179
180
|
readDate: Nullable_1<DateTimeOffset>;
|
|
180
181
|
size: Nullable_1<System_Internal.Int64>;
|
|
181
|
-
equals(obj: unknown
|
|
182
|
+
equals(obj: unknown): boolean;
|
|
182
183
|
getHashCode(): int;
|
|
183
|
-
toString(): string
|
|
184
|
+
toString(): string;
|
|
184
185
|
}
|
|
185
186
|
|
|
186
187
|
|
|
187
188
|
export const ContentDispositionHeaderValue: {
|
|
188
|
-
new(dispositionType: string
|
|
189
|
-
parse(input: string
|
|
190
|
-
tryParse(input: string
|
|
189
|
+
new(dispositionType: string): ContentDispositionHeaderValue;
|
|
190
|
+
parse(input: string): ContentDispositionHeaderValue;
|
|
191
|
+
tryParse(input: string, parsedValue: ContentDispositionHeaderValue): boolean;
|
|
191
192
|
};
|
|
192
193
|
|
|
193
194
|
|
|
@@ -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 | undefined;
|
|
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 | undefined;
|
|
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>;
|
|
@@ -290,17 +295,17 @@ export type HttpContentHeaders = HttpContentHeaders$instance & __HttpContentHead
|
|
|
290
295
|
|
|
291
296
|
export interface HttpHeaders$instance {
|
|
292
297
|
readonly nonValidated: HttpHeadersNonValidated;
|
|
293
|
-
add(name: string, value: string
|
|
294
|
-
add(name: string, values: IEnumerable_1<
|
|
298
|
+
add(name: string, value: string): void;
|
|
299
|
+
add(name: string, values: IEnumerable_1<System_Internal.String>): void;
|
|
295
300
|
clear(): void;
|
|
296
301
|
contains(name: string): boolean;
|
|
297
302
|
getEnumerator(): IEnumerator_1<KeyValuePair_2<System_Internal.String, IEnumerable_1<System_Internal.String>>>;
|
|
298
303
|
getValues(name: string): IEnumerable_1<System_Internal.String>;
|
|
299
304
|
remove(name: string): boolean;
|
|
300
305
|
toString(): string;
|
|
301
|
-
tryAddWithoutValidation(name: string, value: string
|
|
302
|
-
tryAddWithoutValidation(name: string, values: IEnumerable_1<
|
|
303
|
-
tryGetValues(name: string, values: IEnumerable_1<System_Internal.String>
|
|
306
|
+
tryAddWithoutValidation(name: string, value: string): boolean;
|
|
307
|
+
tryAddWithoutValidation(name: string, values: IEnumerable_1<System_Internal.String>): boolean;
|
|
308
|
+
tryGetValues(name: string, values: IEnumerable_1<System_Internal.String>): boolean;
|
|
304
309
|
}
|
|
305
310
|
|
|
306
311
|
|
|
@@ -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 | undefined;
|
|
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 | undefined;
|
|
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 | undefined;
|
|
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 | undefined;
|
|
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 | undefined;
|
|
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 | undefined;
|
|
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 | undefined;
|
|
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,20 +452,21 @@ export type HttpResponseHeaders = HttpResponseHeaders$instance & __HttpResponseH
|
|
|
436
452
|
|
|
437
453
|
|
|
438
454
|
export interface MediaTypeHeaderValue$instance {
|
|
439
|
-
charSet: string | undefined;
|
|
455
|
+
get charSet(): string | undefined;
|
|
456
|
+
set charSet(value: string);
|
|
440
457
|
mediaType: string;
|
|
441
458
|
readonly parameters: ICollection_1<NameValueHeaderValue>;
|
|
442
|
-
equals(obj: unknown
|
|
459
|
+
equals(obj: unknown): boolean;
|
|
443
460
|
getHashCode(): int;
|
|
444
|
-
toString(): string
|
|
461
|
+
toString(): string;
|
|
445
462
|
}
|
|
446
463
|
|
|
447
464
|
|
|
448
465
|
export const MediaTypeHeaderValue: {
|
|
449
|
-
new(mediaType: string
|
|
450
|
-
new(mediaType: string
|
|
451
|
-
parse(input: string
|
|
452
|
-
tryParse(input: string
|
|
466
|
+
new(mediaType: string): MediaTypeHeaderValue;
|
|
467
|
+
new(mediaType: string, charSet: string): MediaTypeHeaderValue;
|
|
468
|
+
parse(input: string): MediaTypeHeaderValue;
|
|
469
|
+
tryParse(input: string, parsedValue: MediaTypeHeaderValue): boolean;
|
|
453
470
|
};
|
|
454
471
|
|
|
455
472
|
|
|
@@ -494,7 +511,7 @@ export interface NameValueHeaderValue$instance {
|
|
|
494
511
|
|
|
495
512
|
export const NameValueHeaderValue: {
|
|
496
513
|
new(name: string): NameValueHeaderValue;
|
|
497
|
-
new(name: string, value: string
|
|
514
|
+
new(name: string, value: string): NameValueHeaderValue;
|
|
498
515
|
parse(input: string): NameValueHeaderValue;
|
|
499
516
|
tryParse(input: string, parsedValue: NameValueHeaderValue): boolean;
|
|
500
517
|
};
|
|
@@ -520,7 +537,7 @@ export interface NameValueWithParametersHeaderValue$instance extends NameValueHe
|
|
|
520
537
|
|
|
521
538
|
export const NameValueWithParametersHeaderValue: {
|
|
522
539
|
new(name: string): NameValueWithParametersHeaderValue;
|
|
523
|
-
new(name: string, value: string
|
|
540
|
+
new(name: string, value: string): NameValueWithParametersHeaderValue;
|
|
524
541
|
};
|
|
525
542
|
|
|
526
543
|
|
|
@@ -544,7 +561,7 @@ export interface ProductHeaderValue$instance {
|
|
|
544
561
|
|
|
545
562
|
export const ProductHeaderValue: {
|
|
546
563
|
new(name: string): ProductHeaderValue;
|
|
547
|
-
new(name: string, version: string
|
|
564
|
+
new(name: string, version: string): ProductHeaderValue;
|
|
548
565
|
parse(input: string): ProductHeaderValue;
|
|
549
566
|
tryParse(input: string, parsedValue: ProductHeaderValue): boolean;
|
|
550
567
|
};
|
|
@@ -569,11 +586,11 @@ export interface ProductInfoHeaderValue$instance {
|
|
|
569
586
|
|
|
570
587
|
|
|
571
588
|
export const ProductInfoHeaderValue: {
|
|
572
|
-
new(productName: string, productVersion: string
|
|
589
|
+
new(productName: string, productVersion: string): ProductInfoHeaderValue;
|
|
573
590
|
new(product: ProductHeaderValue): ProductInfoHeaderValue;
|
|
574
591
|
new(comment: string): ProductInfoHeaderValue;
|
|
575
592
|
parse(input: string): ProductInfoHeaderValue;
|
|
576
|
-
tryParse(input: string, parsedValue: ProductInfoHeaderValue
|
|
593
|
+
tryParse(input: string, parsedValue: ProductInfoHeaderValue): boolean;
|
|
577
594
|
};
|
|
578
595
|
|
|
579
596
|
|
|
@@ -644,7 +661,7 @@ export interface RangeItemHeaderValue$instance {
|
|
|
644
661
|
readonly to: Nullable_1<System_Internal.Int64>;
|
|
645
662
|
equals(obj: unknown): boolean;
|
|
646
663
|
getHashCode(): int;
|
|
647
|
-
toString(): string
|
|
664
|
+
toString(): string;
|
|
648
665
|
}
|
|
649
666
|
|
|
650
667
|
|
|
@@ -667,7 +684,7 @@ export interface RetryConditionHeaderValue$instance {
|
|
|
667
684
|
readonly delta: Nullable_1<TimeSpan>;
|
|
668
685
|
equals(obj: unknown): boolean;
|
|
669
686
|
getHashCode(): int;
|
|
670
|
-
toString(): string
|
|
687
|
+
toString(): string;
|
|
671
688
|
}
|
|
672
689
|
|
|
673
690
|
|
|
@@ -773,8 +790,8 @@ export interface ViaHeaderValue$instance {
|
|
|
773
790
|
|
|
774
791
|
export const ViaHeaderValue: {
|
|
775
792
|
new(protocolVersion: string, receivedBy: string): ViaHeaderValue;
|
|
776
|
-
new(protocolVersion: string, receivedBy: string, protocolName: string
|
|
777
|
-
new(protocolVersion: string, receivedBy: string, protocolName: string
|
|
793
|
+
new(protocolVersion: string, receivedBy: string, protocolName: string): ViaHeaderValue;
|
|
794
|
+
new(protocolVersion: string, receivedBy: string, protocolName: string, comment: string): ViaHeaderValue;
|
|
778
795
|
parse(input: string): ViaHeaderValue;
|
|
779
796
|
tryParse(input: string, parsedValue: ViaHeaderValue): boolean;
|
|
780
797
|
};
|
|
@@ -29,7 +29,7 @@ export interface JsonContent$instance extends HttpContent {
|
|
|
29
29
|
|
|
30
30
|
export const JsonContent: {
|
|
31
31
|
new(): JsonContent;
|
|
32
|
-
create(inputValue: unknown
|
|
32
|
+
create(inputValue: unknown, jsonTypeInfo: JsonTypeInfo, mediaType?: MediaTypeHeaderValue): JsonContent;
|
|
33
33
|
create(inputValue: unknown, inputType: Type, mediaType?: MediaTypeHeaderValue, options?: JsonSerializerOptions): JsonContent;
|
|
34
34
|
create<T>(inputValue: T, jsonTypeInfo: JsonTypeInfo_1<T>, mediaType?: MediaTypeHeaderValue): JsonContent;
|
|
35
35
|
create<T>(inputValue: T, mediaType?: MediaTypeHeaderValue, options?: JsonSerializerOptions): JsonContent;
|
|
@@ -44,54 +44,54 @@ export type JsonContent = JsonContent$instance & __JsonContent$views;
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
export abstract class HttpClientJsonExtensions$instance {
|
|
47
|
-
static deleteFromJsonAsync<TValue>(client: HttpClient, requestUri: string
|
|
47
|
+
static deleteFromJsonAsync<TValue>(client: HttpClient, requestUri: string, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<TValue | undefined>;
|
|
48
48
|
static deleteFromJsonAsync<TValue>(client: HttpClient, requestUri: string, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<TValue | undefined>;
|
|
49
49
|
static deleteFromJsonAsync<TValue>(client: HttpClient, requestUri: string, cancellationToken?: CancellationToken): Task_1<TValue | undefined>;
|
|
50
|
-
static deleteFromJsonAsync(client: HttpClient, requestUri: string
|
|
51
|
-
static deleteFromJsonAsync(client: HttpClient, requestUri: string
|
|
52
|
-
static deleteFromJsonAsync(client: HttpClient, requestUri: string
|
|
53
|
-
static deleteFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri
|
|
50
|
+
static deleteFromJsonAsync(client: HttpClient, requestUri: string, type_: Type, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
51
|
+
static deleteFromJsonAsync(client: HttpClient, requestUri: string, type_: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
52
|
+
static deleteFromJsonAsync(client: HttpClient, requestUri: string, type_: Type, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
53
|
+
static deleteFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<TValue | undefined>;
|
|
54
54
|
static deleteFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<TValue | undefined>;
|
|
55
55
|
static deleteFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri, cancellationToken?: CancellationToken): Task_1<TValue | undefined>;
|
|
56
|
-
static deleteFromJsonAsync(client: HttpClient, requestUri: Uri
|
|
57
|
-
static deleteFromJsonAsync(client: HttpClient, requestUri: Uri
|
|
58
|
-
static deleteFromJsonAsync(client: HttpClient, requestUri: Uri
|
|
59
|
-
static getFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: string
|
|
56
|
+
static deleteFromJsonAsync(client: HttpClient, requestUri: Uri, type_: Type, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
57
|
+
static deleteFromJsonAsync(client: HttpClient, requestUri: Uri, type_: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
58
|
+
static deleteFromJsonAsync(client: HttpClient, requestUri: Uri, type_: Type, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
59
|
+
static getFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: string, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
|
|
60
60
|
static getFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: string, options: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
|
|
61
61
|
static getFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: string, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
|
|
62
|
-
static getFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: Uri
|
|
62
|
+
static getFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: Uri, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
|
|
63
63
|
static getFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: Uri, options: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
|
|
64
64
|
static getFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: Uri, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
|
|
65
|
-
static getFromJsonAsync<TValue>(client: HttpClient, requestUri: string
|
|
65
|
+
static getFromJsonAsync<TValue>(client: HttpClient, requestUri: string, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<TValue | undefined>;
|
|
66
66
|
static getFromJsonAsync<TValue>(client: HttpClient, requestUri: string, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<TValue | undefined>;
|
|
67
67
|
static getFromJsonAsync<TValue>(client: HttpClient, requestUri: string, cancellationToken?: CancellationToken): Task_1<TValue | undefined>;
|
|
68
|
-
static getFromJsonAsync(client: HttpClient, requestUri: string
|
|
69
|
-
static getFromJsonAsync(client: HttpClient, requestUri: string
|
|
70
|
-
static getFromJsonAsync(client: HttpClient, requestUri: string
|
|
71
|
-
static getFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri
|
|
68
|
+
static getFromJsonAsync(client: HttpClient, requestUri: string, type_: Type, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
69
|
+
static getFromJsonAsync(client: HttpClient, requestUri: string, type_: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
70
|
+
static getFromJsonAsync(client: HttpClient, requestUri: string, type_: Type, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
71
|
+
static getFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<TValue | undefined>;
|
|
72
72
|
static getFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<TValue | undefined>;
|
|
73
73
|
static getFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri, cancellationToken?: CancellationToken): Task_1<TValue | undefined>;
|
|
74
|
-
static getFromJsonAsync(client: HttpClient, requestUri: Uri
|
|
75
|
-
static getFromJsonAsync(client: HttpClient, requestUri: Uri
|
|
76
|
-
static getFromJsonAsync(client: HttpClient, requestUri: Uri
|
|
77
|
-
static patchAsJsonAsync<TValue>(client: HttpClient, requestUri: string
|
|
78
|
-
static patchAsJsonAsync<TValue>(client: HttpClient, requestUri: string
|
|
79
|
-
static patchAsJsonAsync<TValue>(client: HttpClient, requestUri: string
|
|
80
|
-
static patchAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri
|
|
81
|
-
static patchAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri
|
|
82
|
-
static patchAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri
|
|
83
|
-
static postAsJsonAsync<TValue>(client: HttpClient, requestUri: string
|
|
84
|
-
static postAsJsonAsync<TValue>(client: HttpClient, requestUri: string
|
|
85
|
-
static postAsJsonAsync<TValue>(client: HttpClient, requestUri: string
|
|
86
|
-
static postAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri
|
|
87
|
-
static postAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri
|
|
88
|
-
static postAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri
|
|
89
|
-
static putAsJsonAsync<TValue>(client: HttpClient, requestUri: string
|
|
90
|
-
static putAsJsonAsync<TValue>(client: HttpClient, requestUri: string
|
|
91
|
-
static putAsJsonAsync<TValue>(client: HttpClient, requestUri: string
|
|
92
|
-
static putAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri
|
|
93
|
-
static putAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri
|
|
94
|
-
static putAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri
|
|
74
|
+
static getFromJsonAsync(client: HttpClient, requestUri: Uri, type_: Type, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
75
|
+
static getFromJsonAsync(client: HttpClient, requestUri: Uri, type_: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
76
|
+
static getFromJsonAsync(client: HttpClient, requestUri: Uri, type_: Type, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
77
|
+
static patchAsJsonAsync<TValue>(client: HttpClient, requestUri: string, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
78
|
+
static patchAsJsonAsync<TValue>(client: HttpClient, requestUri: string, value: TValue, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
79
|
+
static patchAsJsonAsync<TValue>(client: HttpClient, requestUri: string, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
80
|
+
static patchAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
81
|
+
static patchAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri, value: TValue, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
82
|
+
static patchAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
83
|
+
static postAsJsonAsync<TValue>(client: HttpClient, requestUri: string, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
84
|
+
static postAsJsonAsync<TValue>(client: HttpClient, requestUri: string, value: TValue, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
85
|
+
static postAsJsonAsync<TValue>(client: HttpClient, requestUri: string, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
86
|
+
static postAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
87
|
+
static postAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri, value: TValue, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
88
|
+
static postAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
89
|
+
static putAsJsonAsync<TValue>(client: HttpClient, requestUri: string, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
90
|
+
static putAsJsonAsync<TValue>(client: HttpClient, requestUri: string, value: TValue, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
91
|
+
static putAsJsonAsync<TValue>(client: HttpClient, requestUri: string, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
92
|
+
static putAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
93
|
+
static putAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri, value: TValue, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
94
|
+
static putAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
|
|
@@ -104,7 +104,7 @@ export abstract class HttpContentJsonExtensions$instance {
|
|
|
104
104
|
static readFromJsonAsync<T>(content: HttpContent, jsonTypeInfo: JsonTypeInfo_1<T>, cancellationToken?: CancellationToken): Task_1<T | undefined>;
|
|
105
105
|
static readFromJsonAsync<T>(content: HttpContent, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<T | undefined>;
|
|
106
106
|
static readFromJsonAsync<T>(content: HttpContent, cancellationToken?: CancellationToken): Task_1<T | undefined>;
|
|
107
|
-
static readFromJsonAsync(content: HttpContent, type_: Type, options: JsonSerializerOptions
|
|
107
|
+
static readFromJsonAsync(content: HttpContent, type_: Type, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
108
108
|
static readFromJsonAsync(content: HttpContent, type_: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
109
109
|
static readFromJsonAsync(content: HttpContent, type_: Type, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
110
110
|
}
|
|
@@ -14,7 +14,7 @@ export interface HttpMetricsEnrichmentContext$instance {
|
|
|
14
14
|
readonly exception: Exception;
|
|
15
15
|
readonly request: HttpRequestMessage;
|
|
16
16
|
readonly response: HttpResponseMessage;
|
|
17
|
-
addCustomTag(name: string, value: unknown
|
|
17
|
+
addCustomTag(name: string, value: unknown): void;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
|