@tsonic/dotnet 0.8.0 → 0.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +21 -21
- package/Microsoft.VisualBasic/internal/index.d.ts +24 -24
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +30 -30
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +16 -16
- package/Microsoft.Win32/internal/index.d.ts +12 -12
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +19 -19
- package/System/bindings.json +114 -114
- package/System/internal/index.d.ts +1277 -1289
- package/System/internal/metadata.json +73 -73
- package/System.Buffers/internal/index.d.ts +13 -13
- package/System.CodeDom.Compiler/internal/index.d.ts +13 -13
- package/System.Collections/internal/index.d.ts +66 -68
- package/System.Collections.Concurrent/internal/index.d.ts +24 -24
- package/System.Collections.Frozen/bindings.json +20 -20
- package/System.Collections.Frozen/internal/index.d.ts +10 -10
- package/System.Collections.Frozen/internal/metadata.json +10 -10
- package/System.Collections.Generic/bindings.json +44 -20
- package/System.Collections.Generic/internal/index.d.ts +141 -133
- package/System.Collections.Generic/internal/metadata.json +26 -10
- package/System.Collections.Immutable/internal/index.d.ts +121 -121
- package/System.Collections.ObjectModel/internal/index.d.ts +23 -23
- package/System.Collections.Specialized/internal/index.d.ts +85 -87
- package/System.ComponentModel/internal/index.d.ts +595 -597
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +105 -105
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +9 -9
- package/System.ComponentModel.Design/internal/index.d.ts +90 -90
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +37 -37
- package/System.Data/internal/index.d.ts +225 -225
- package/System.Data.Common/internal/index.d.ts +62 -62
- package/System.Data.SqlTypes/internal/index.d.ts +73 -73
- package/System.Diagnostics/internal/index.d.ts +343 -343
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +50 -50
- package/System.Diagnostics.Contracts/internal/index.d.ts +20 -20
- package/System.Diagnostics.Metrics/internal/index.d.ts +46 -46
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +9 -9
- package/System.Diagnostics.Tracing/internal/index.d.ts +44 -44
- package/System.Drawing/internal/index.d.ts +99 -99
- package/System.Dynamic/internal/index.d.ts +33 -33
- package/System.Formats.Asn1/internal/index.d.ts +12 -12
- package/System.Formats.Tar/internal/index.d.ts +17 -17
- package/System.Globalization/internal/index.d.ts +51 -51
- package/System.IO/internal/index.d.ts +172 -172
- package/System.IO.Compression/internal/index.d.ts +56 -56
- package/System.IO.Enumeration/internal/index.d.ts +6 -6
- package/System.IO.IsolatedStorage/internal/index.d.ts +17 -17
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +11 -11
- package/System.IO.Pipelines/internal/index.d.ts +13 -13
- package/System.IO.Pipes/internal/index.d.ts +32 -32
- package/System.Linq/internal/index.d.ts +187 -187
- package/System.Linq.Expressions/internal/index.d.ts +203 -203
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +3 -3
- package/System.Net/internal/index.d.ts +218 -220
- package/System.Net.Cache/internal/index.d.ts +10 -10
- package/System.Net.Http/internal/index.d.ts +89 -89
- package/System.Net.Http.Headers/internal/index.d.ts +86 -86
- package/System.Net.Http.Json/internal/index.d.ts +59 -59
- package/System.Net.Http.Metrics/internal/index.d.ts +2 -2
- package/System.Net.Mail/internal/index.d.ts +92 -92
- package/System.Net.Mime/internal/index.d.ts +6 -6
- package/System.Net.NetworkInformation/internal/index.d.ts +39 -39
- package/System.Net.Quic/internal/index.d.ts +13 -13
- package/System.Net.Security/internal/index.d.ts +70 -70
- package/System.Net.ServerSentEvents/internal/index.d.ts +3 -3
- package/System.Net.Sockets/internal/index.d.ts +94 -94
- package/System.Net.WebSockets/internal/index.d.ts +46 -46
- package/System.Numerics/bindings.json +384 -0
- package/System.Numerics/internal/index.d.ts +128 -130
- package/System.Numerics/internal/metadata.json +256 -0
- package/System.Reflection/internal/index.d.ts +271 -271
- package/System.Reflection.Emit/internal/index.d.ts +123 -123
- package/System.Reflection.Metadata/bindings.json +48 -0
- package/System.Reflection.Metadata/internal/index.d.ts +179 -179
- package/System.Reflection.Metadata/internal/metadata.json +32 -0
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +40 -40
- package/System.Reflection.PortableExecutable/internal/index.d.ts +26 -26
- package/System.Resources/internal/index.d.ts +38 -38
- package/System.Runtime/internal/index.d.ts +9 -9
- package/System.Runtime.CompilerServices/internal/index.d.ts +168 -168
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +2 -2
- package/System.Runtime.ExceptionServices/internal/index.d.ts +3 -3
- package/System.Runtime.InteropServices/bindings.json +22 -22
- package/System.Runtime.InteropServices/internal/index.d.ts +184 -184
- package/System.Runtime.InteropServices/internal/metadata.json +13 -13
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +30 -30
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +3 -3
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +50 -50
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +63 -63
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +1 -1
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +4 -4
- package/System.Runtime.Intrinsics/internal/index.d.ts +4 -4
- package/System.Runtime.Loader/internal/index.d.ts +9 -9
- package/System.Runtime.Remoting/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization/internal/index.d.ts +113 -115
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +19 -19
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +5 -5
- package/System.Runtime.Serialization.Json/internal/index.d.ts +28 -28
- package/System.Runtime.Versioning/internal/index.d.ts +22 -22
- package/System.Security/internal/index.d.ts +63 -63
- package/System.Security.AccessControl/internal/index.d.ts +84 -84
- package/System.Security.Authentication/internal/index.d.ts +6 -6
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +13 -13
- package/System.Security.Claims/internal/index.d.ts +38 -40
- package/System.Security.Cryptography/internal/index.d.ts +378 -378
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +172 -172
- package/System.Security.Permissions/internal/index.d.ts +1 -1
- package/System.Security.Policy/internal/index.d.ts +6 -6
- package/System.Security.Principal/internal/index.d.ts +29 -31
- package/System.Text/internal/index.d.ts +94 -94
- package/System.Text.Encodings.Web/internal/index.d.ts +3 -3
- package/System.Text.Json/internal/index.d.ts +103 -103
- package/System.Text.Json.Nodes/internal/index.d.ts +73 -73
- package/System.Text.Json.Schema/internal/index.d.ts +7 -7
- package/System.Text.Json.Serialization/internal/index.d.ts +34 -34
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +57 -57
- package/System.Text.RegularExpressions/internal/index.d.ts +29 -29
- package/System.Text.Unicode/internal/index.d.ts +6 -6
- package/System.Threading/internal/index.d.ts +160 -160
- package/System.Threading.Channels/internal/index.d.ts +12 -12
- package/System.Threading.Tasks/internal/index.d.ts +125 -135
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +54 -51
- package/System.Threading.Tasks.Sources/internal/index.d.ts +5 -5
- package/System.Timers/internal/index.d.ts +8 -8
- package/System.Transactions/internal/index.d.ts +51 -51
- package/System.Web/internal/index.d.ts +32 -32
- package/System.Windows.Input/internal/index.d.ts +2 -2
- package/System.Windows.Markup/internal/index.d.ts +2 -2
- package/System.Xml/internal/index.d.ts +281 -281
- package/System.Xml.Linq/internal/index.d.ts +76 -76
- package/System.Xml.Resolvers/internal/index.d.ts +8 -8
- package/System.Xml.Schema/internal/index.d.ts +173 -173
- package/System.Xml.Serialization/internal/index.d.ts +200 -200
- package/System.Xml.XPath/internal/index.d.ts +28 -28
- package/System.Xml.Xsl/internal/index.d.ts +53 -53
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +72 -72
- package/__internal/extensions/index.d.ts +415 -414
- package/package.json +1 -1
|
@@ -19,12 +19,12 @@ 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 | undefined;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
export const HeaderStringValues: {
|
|
27
|
-
new(): HeaderStringValues
|
|
27
|
+
new(): HeaderStringValues;
|
|
28
28
|
};
|
|
29
29
|
|
|
30
30
|
|
|
@@ -46,7 +46,7 @@ export interface HeaderStringValues_Enumerator$instance extends IDisposable {
|
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
export const HeaderStringValues_Enumerator: {
|
|
49
|
-
new(): HeaderStringValues_Enumerator
|
|
49
|
+
new(): HeaderStringValues_Enumerator;
|
|
50
50
|
};
|
|
51
51
|
|
|
52
52
|
|
|
@@ -68,7 +68,7 @@ export interface HttpHeadersNonValidated$instance {
|
|
|
68
68
|
|
|
69
69
|
|
|
70
70
|
export const HttpHeadersNonValidated: {
|
|
71
|
-
new(): HttpHeadersNonValidated
|
|
71
|
+
new(): HttpHeadersNonValidated;
|
|
72
72
|
};
|
|
73
73
|
|
|
74
74
|
|
|
@@ -91,7 +91,7 @@ export interface HttpHeadersNonValidated_Enumerator$instance extends IDisposable
|
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
export const HttpHeadersNonValidated_Enumerator: {
|
|
94
|
-
new(): HttpHeadersNonValidated_Enumerator
|
|
94
|
+
new(): HttpHeadersNonValidated_Enumerator;
|
|
95
95
|
};
|
|
96
96
|
|
|
97
97
|
|
|
@@ -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;
|
|
@@ -113,8 +113,8 @@ export interface AuthenticationHeaderValue$instance {
|
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
export const AuthenticationHeaderValue: {
|
|
116
|
-
new(scheme: string): AuthenticationHeaderValue
|
|
117
|
-
new(scheme: string, parameter: string): AuthenticationHeaderValue
|
|
116
|
+
new(scheme: string): AuthenticationHeaderValue;
|
|
117
|
+
new(scheme: string, parameter: string | undefined): AuthenticationHeaderValue;
|
|
118
118
|
parse(input: string): AuthenticationHeaderValue;
|
|
119
119
|
tryParse(input: string, parsedValue: AuthenticationHeaderValue): boolean;
|
|
120
120
|
};
|
|
@@ -153,8 +153,8 @@ export interface CacheControlHeaderValue$instance {
|
|
|
153
153
|
|
|
154
154
|
|
|
155
155
|
export const CacheControlHeaderValue: {
|
|
156
|
-
new(): CacheControlHeaderValue
|
|
157
|
-
parse(input: string): CacheControlHeaderValue;
|
|
156
|
+
new(): CacheControlHeaderValue;
|
|
157
|
+
parse(input: string | undefined): CacheControlHeaderValue;
|
|
158
158
|
tryParse(input: string, parsedValue: CacheControlHeaderValue): boolean;
|
|
159
159
|
};
|
|
160
160
|
|
|
@@ -172,22 +172,22 @@ export interface ContentDispositionHeaderValue$instance {
|
|
|
172
172
|
creationDate: Nullable_1<DateTimeOffset>;
|
|
173
173
|
dispositionType: string;
|
|
174
174
|
fileName: string;
|
|
175
|
-
fileNameStar: string;
|
|
175
|
+
fileNameStar: string | undefined;
|
|
176
176
|
modificationDate: Nullable_1<DateTimeOffset>;
|
|
177
177
|
name: string;
|
|
178
178
|
readonly parameters: ICollection_1<NameValueHeaderValue>;
|
|
179
179
|
readDate: Nullable_1<DateTimeOffset>;
|
|
180
180
|
size: Nullable_1<System_Internal.Int64>;
|
|
181
|
-
equals(obj: unknown): boolean;
|
|
181
|
+
equals(obj: unknown | undefined): boolean;
|
|
182
182
|
getHashCode(): int;
|
|
183
|
-
toString(): string;
|
|
183
|
+
toString(): string | undefined;
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
|
|
187
187
|
export const ContentDispositionHeaderValue: {
|
|
188
|
-
new(dispositionType: string): ContentDispositionHeaderValue
|
|
189
|
-
parse(input: string): ContentDispositionHeaderValue;
|
|
190
|
-
tryParse(input: string, parsedValue: ContentDispositionHeaderValue): boolean;
|
|
188
|
+
new(dispositionType: string | undefined): ContentDispositionHeaderValue;
|
|
189
|
+
parse(input: string | undefined): ContentDispositionHeaderValue | undefined;
|
|
190
|
+
tryParse(input: string | undefined, parsedValue: ContentDispositionHeaderValue | undefined): boolean;
|
|
191
191
|
};
|
|
192
192
|
|
|
193
193
|
|
|
@@ -214,9 +214,9 @@ export interface ContentRangeHeaderValue$instance {
|
|
|
214
214
|
|
|
215
215
|
|
|
216
216
|
export const ContentRangeHeaderValue: {
|
|
217
|
-
new(from_: long, to: long, length: long): ContentRangeHeaderValue
|
|
218
|
-
new(length: long): ContentRangeHeaderValue
|
|
219
|
-
new(from_: long, to: long): ContentRangeHeaderValue
|
|
217
|
+
new(from_: long, to: long, length: long): ContentRangeHeaderValue;
|
|
218
|
+
new(length: long): ContentRangeHeaderValue;
|
|
219
|
+
new(from_: long, to: long): ContentRangeHeaderValue;
|
|
220
220
|
parse(input: string): ContentRangeHeaderValue;
|
|
221
221
|
tryParse(input: string, parsedValue: ContentRangeHeaderValue): boolean;
|
|
222
222
|
};
|
|
@@ -241,8 +241,8 @@ export interface EntityTagHeaderValue$instance {
|
|
|
241
241
|
|
|
242
242
|
|
|
243
243
|
export const EntityTagHeaderValue: {
|
|
244
|
-
new(tag: string): EntityTagHeaderValue
|
|
245
|
-
new(tag: string, isWeak: boolean): EntityTagHeaderValue
|
|
244
|
+
new(tag: string): EntityTagHeaderValue;
|
|
245
|
+
new(tag: string, isWeak: boolean): EntityTagHeaderValue;
|
|
246
246
|
readonly any_: EntityTagHeaderValue;
|
|
247
247
|
parse(input: string): EntityTagHeaderValue;
|
|
248
248
|
tryParse(input: string, parsedValue: EntityTagHeaderValue): boolean;
|
|
@@ -260,13 +260,13 @@ export type EntityTagHeaderValue = EntityTagHeaderValue$instance & __EntityTagHe
|
|
|
260
260
|
|
|
261
261
|
export interface HttpContentHeaders$instance extends HttpHeaders$instance {
|
|
262
262
|
readonly allow: ICollection_1<System_Internal.String>;
|
|
263
|
-
contentDisposition: ContentDispositionHeaderValue;
|
|
263
|
+
contentDisposition: ContentDispositionHeaderValue | undefined;
|
|
264
264
|
readonly contentEncoding: ICollection_1<System_Internal.String>;
|
|
265
265
|
readonly contentLanguage: ICollection_1<System_Internal.String>;
|
|
266
266
|
contentLength: Nullable_1<System_Internal.Int64>;
|
|
267
|
-
contentLocation: Uri;
|
|
268
|
-
contentMD5: byte[];
|
|
269
|
-
contentRange: ContentRangeHeaderValue;
|
|
267
|
+
contentLocation: Uri | undefined;
|
|
268
|
+
contentMD5: byte[] | undefined;
|
|
269
|
+
contentRange: ContentRangeHeaderValue | undefined;
|
|
270
270
|
contentType: MediaTypeHeaderValue;
|
|
271
271
|
expires: Nullable_1<DateTimeOffset>;
|
|
272
272
|
lastModified: Nullable_1<DateTimeOffset>;
|
|
@@ -276,7 +276,7 @@ export interface HttpContentHeaders$instance extends HttpHeaders$instance {
|
|
|
276
276
|
|
|
277
277
|
|
|
278
278
|
export const HttpContentHeaders: {
|
|
279
|
-
new(): HttpContentHeaders
|
|
279
|
+
new(): HttpContentHeaders;
|
|
280
280
|
};
|
|
281
281
|
|
|
282
282
|
|
|
@@ -290,17 +290,17 @@ export type HttpContentHeaders = HttpContentHeaders$instance & __HttpContentHead
|
|
|
290
290
|
|
|
291
291
|
export interface HttpHeaders$instance {
|
|
292
292
|
readonly nonValidated: HttpHeadersNonValidated;
|
|
293
|
-
add(name: string, value: string): void;
|
|
294
|
-
add(name: string, values: IEnumerable_1<
|
|
293
|
+
add(name: string, value: string | undefined): void;
|
|
294
|
+
add(name: string, values: IEnumerable_1<string | undefined>): void;
|
|
295
295
|
clear(): void;
|
|
296
296
|
contains(name: string): boolean;
|
|
297
297
|
getEnumerator(): IEnumerator_1<KeyValuePair_2<System_Internal.String, IEnumerable_1<System_Internal.String>>>;
|
|
298
298
|
getValues(name: string): IEnumerable_1<System_Internal.String>;
|
|
299
299
|
remove(name: string): boolean;
|
|
300
300
|
toString(): string;
|
|
301
|
-
tryAddWithoutValidation(name: string, value: string): boolean;
|
|
302
|
-
tryAddWithoutValidation(name: string, values: IEnumerable_1<
|
|
303
|
-
tryGetValues(name: string, values: IEnumerable_1<System_Internal.String>): boolean;
|
|
301
|
+
tryAddWithoutValidation(name: string, value: string | undefined): boolean;
|
|
302
|
+
tryAddWithoutValidation(name: string, values: IEnumerable_1<string | undefined>): boolean;
|
|
303
|
+
tryGetValues(name: string, values: IEnumerable_1<System_Internal.String> | undefined): boolean;
|
|
304
304
|
}
|
|
305
305
|
|
|
306
306
|
|
|
@@ -332,7 +332,7 @@ export interface HttpHeaderValueCollection_1$instance<T> {
|
|
|
332
332
|
|
|
333
333
|
|
|
334
334
|
export const HttpHeaderValueCollection_1: {
|
|
335
|
-
new<T>(): HttpHeaderValueCollection_1
|
|
335
|
+
new<T>(): HttpHeaderValueCollection_1<T>;
|
|
336
336
|
};
|
|
337
337
|
|
|
338
338
|
|
|
@@ -350,26 +350,26 @@ export interface HttpRequestHeaders$instance extends HttpHeaders$instance {
|
|
|
350
350
|
readonly acceptCharset: HttpHeaderValueCollection_1<StringWithQualityHeaderValue>;
|
|
351
351
|
readonly acceptEncoding: HttpHeaderValueCollection_1<StringWithQualityHeaderValue>;
|
|
352
352
|
readonly acceptLanguage: HttpHeaderValueCollection_1<StringWithQualityHeaderValue>;
|
|
353
|
-
authorization: AuthenticationHeaderValue;
|
|
354
|
-
cacheControl: CacheControlHeaderValue;
|
|
353
|
+
authorization: AuthenticationHeaderValue | undefined;
|
|
354
|
+
cacheControl: CacheControlHeaderValue | undefined;
|
|
355
355
|
readonly connection: HttpHeaderValueCollection_1<System_Internal.String>;
|
|
356
356
|
connectionClose: Nullable_1<System_Internal.Boolean>;
|
|
357
357
|
date: Nullable_1<DateTimeOffset>;
|
|
358
358
|
readonly expect: HttpHeaderValueCollection_1<NameValueWithParametersHeaderValue>;
|
|
359
359
|
expectContinue: Nullable_1<System_Internal.Boolean>;
|
|
360
|
-
from_: string;
|
|
360
|
+
from_: string | undefined;
|
|
361
361
|
host: string;
|
|
362
362
|
readonly ifMatch: HttpHeaderValueCollection_1<EntityTagHeaderValue>;
|
|
363
363
|
ifModifiedSince: Nullable_1<DateTimeOffset>;
|
|
364
364
|
readonly ifNoneMatch: HttpHeaderValueCollection_1<EntityTagHeaderValue>;
|
|
365
|
-
ifRange: RangeConditionHeaderValue;
|
|
365
|
+
ifRange: RangeConditionHeaderValue | undefined;
|
|
366
366
|
ifUnmodifiedSince: Nullable_1<DateTimeOffset>;
|
|
367
367
|
maxForwards: Nullable_1<System_Internal.Int32>;
|
|
368
368
|
readonly pragma: HttpHeaderValueCollection_1<NameValueHeaderValue>;
|
|
369
|
-
protocol: string;
|
|
370
|
-
proxyAuthorization: AuthenticationHeaderValue;
|
|
371
|
-
range: RangeHeaderValue;
|
|
372
|
-
referrer: Uri;
|
|
369
|
+
protocol: string | undefined;
|
|
370
|
+
proxyAuthorization: AuthenticationHeaderValue | undefined;
|
|
371
|
+
range: RangeHeaderValue | undefined;
|
|
372
|
+
referrer: Uri | undefined;
|
|
373
373
|
readonly TE: HttpHeaderValueCollection_1<TransferCodingWithQualityHeaderValue>;
|
|
374
374
|
readonly trailer: HttpHeaderValueCollection_1<System_Internal.String>;
|
|
375
375
|
readonly transferEncoding: HttpHeaderValueCollection_1<TransferCodingHeaderValue>;
|
|
@@ -384,7 +384,7 @@ export interface HttpRequestHeaders$instance extends HttpHeaders$instance {
|
|
|
384
384
|
|
|
385
385
|
|
|
386
386
|
export const HttpRequestHeaders: {
|
|
387
|
-
new(): HttpRequestHeaders
|
|
387
|
+
new(): HttpRequestHeaders;
|
|
388
388
|
};
|
|
389
389
|
|
|
390
390
|
|
|
@@ -399,15 +399,15 @@ export type HttpRequestHeaders = HttpRequestHeaders$instance & __HttpRequestHead
|
|
|
399
399
|
export interface HttpResponseHeaders$instance extends HttpHeaders$instance {
|
|
400
400
|
readonly acceptRanges: HttpHeaderValueCollection_1<System_Internal.String>;
|
|
401
401
|
age: Nullable_1<TimeSpan>;
|
|
402
|
-
cacheControl: CacheControlHeaderValue;
|
|
402
|
+
cacheControl: CacheControlHeaderValue | undefined;
|
|
403
403
|
readonly connection: HttpHeaderValueCollection_1<System_Internal.String>;
|
|
404
404
|
connectionClose: Nullable_1<System_Internal.Boolean>;
|
|
405
405
|
date: Nullable_1<DateTimeOffset>;
|
|
406
|
-
eTag: EntityTagHeaderValue;
|
|
406
|
+
eTag: EntityTagHeaderValue | undefined;
|
|
407
407
|
location: Uri;
|
|
408
408
|
readonly pragma: HttpHeaderValueCollection_1<NameValueHeaderValue>;
|
|
409
409
|
readonly proxyAuthenticate: HttpHeaderValueCollection_1<AuthenticationHeaderValue>;
|
|
410
|
-
retryAfter: RetryConditionHeaderValue;
|
|
410
|
+
retryAfter: RetryConditionHeaderValue | undefined;
|
|
411
411
|
readonly server: HttpHeaderValueCollection_1<ProductInfoHeaderValue>;
|
|
412
412
|
readonly trailer: HttpHeaderValueCollection_1<System_Internal.String>;
|
|
413
413
|
readonly transferEncoding: HttpHeaderValueCollection_1<TransferCodingHeaderValue>;
|
|
@@ -423,7 +423,7 @@ export interface HttpResponseHeaders$instance extends HttpHeaders$instance {
|
|
|
423
423
|
|
|
424
424
|
|
|
425
425
|
export const HttpResponseHeaders: {
|
|
426
|
-
new(): HttpResponseHeaders
|
|
426
|
+
new(): HttpResponseHeaders;
|
|
427
427
|
};
|
|
428
428
|
|
|
429
429
|
|
|
@@ -436,20 +436,20 @@ export type HttpResponseHeaders = HttpResponseHeaders$instance & __HttpResponseH
|
|
|
436
436
|
|
|
437
437
|
|
|
438
438
|
export interface MediaTypeHeaderValue$instance {
|
|
439
|
-
charSet: string;
|
|
439
|
+
charSet: string | undefined;
|
|
440
440
|
mediaType: string;
|
|
441
441
|
readonly parameters: ICollection_1<NameValueHeaderValue>;
|
|
442
|
-
equals(obj: unknown): boolean;
|
|
442
|
+
equals(obj: unknown | undefined): boolean;
|
|
443
443
|
getHashCode(): int;
|
|
444
|
-
toString(): string;
|
|
444
|
+
toString(): string | undefined;
|
|
445
445
|
}
|
|
446
446
|
|
|
447
447
|
|
|
448
448
|
export const MediaTypeHeaderValue: {
|
|
449
|
-
new(mediaType: string): MediaTypeHeaderValue
|
|
450
|
-
new(mediaType: string, charSet: string): MediaTypeHeaderValue
|
|
451
|
-
parse(input: string): MediaTypeHeaderValue;
|
|
452
|
-
tryParse(input: string, parsedValue: MediaTypeHeaderValue): boolean;
|
|
449
|
+
new(mediaType: string | undefined): MediaTypeHeaderValue;
|
|
450
|
+
new(mediaType: string | undefined, charSet: string | undefined): MediaTypeHeaderValue;
|
|
451
|
+
parse(input: string | undefined): MediaTypeHeaderValue | undefined;
|
|
452
|
+
tryParse(input: string | undefined, parsedValue: MediaTypeHeaderValue | undefined): boolean;
|
|
453
453
|
};
|
|
454
454
|
|
|
455
455
|
|
|
@@ -469,8 +469,8 @@ export interface MediaTypeWithQualityHeaderValue$instance extends MediaTypeHeade
|
|
|
469
469
|
|
|
470
470
|
|
|
471
471
|
export const MediaTypeWithQualityHeaderValue: {
|
|
472
|
-
new(mediaType: string): MediaTypeWithQualityHeaderValue
|
|
473
|
-
new(mediaType: string, quality: double): MediaTypeWithQualityHeaderValue
|
|
472
|
+
new(mediaType: string): MediaTypeWithQualityHeaderValue;
|
|
473
|
+
new(mediaType: string, quality: double): MediaTypeWithQualityHeaderValue;
|
|
474
474
|
};
|
|
475
475
|
|
|
476
476
|
|
|
@@ -493,8 +493,8 @@ export interface NameValueHeaderValue$instance {
|
|
|
493
493
|
|
|
494
494
|
|
|
495
495
|
export const NameValueHeaderValue: {
|
|
496
|
-
new(name: string): NameValueHeaderValue
|
|
497
|
-
new(name: string, value: string): NameValueHeaderValue
|
|
496
|
+
new(name: string): NameValueHeaderValue;
|
|
497
|
+
new(name: string, value: string | undefined): NameValueHeaderValue;
|
|
498
498
|
parse(input: string): NameValueHeaderValue;
|
|
499
499
|
tryParse(input: string, parsedValue: NameValueHeaderValue): boolean;
|
|
500
500
|
};
|
|
@@ -519,8 +519,8 @@ export interface NameValueWithParametersHeaderValue$instance extends NameValueHe
|
|
|
519
519
|
|
|
520
520
|
|
|
521
521
|
export const NameValueWithParametersHeaderValue: {
|
|
522
|
-
new(name: string): NameValueWithParametersHeaderValue
|
|
523
|
-
new(name: string, value: string): NameValueWithParametersHeaderValue
|
|
522
|
+
new(name: string): NameValueWithParametersHeaderValue;
|
|
523
|
+
new(name: string, value: string | undefined): NameValueWithParametersHeaderValue;
|
|
524
524
|
};
|
|
525
525
|
|
|
526
526
|
|
|
@@ -543,8 +543,8 @@ export interface ProductHeaderValue$instance {
|
|
|
543
543
|
|
|
544
544
|
|
|
545
545
|
export const ProductHeaderValue: {
|
|
546
|
-
new(name: string): ProductHeaderValue
|
|
547
|
-
new(name: string, version: string): ProductHeaderValue
|
|
546
|
+
new(name: string): ProductHeaderValue;
|
|
547
|
+
new(name: string, version: string | undefined): ProductHeaderValue;
|
|
548
548
|
parse(input: string): ProductHeaderValue;
|
|
549
549
|
tryParse(input: string, parsedValue: ProductHeaderValue): boolean;
|
|
550
550
|
};
|
|
@@ -569,11 +569,11 @@ export interface ProductInfoHeaderValue$instance {
|
|
|
569
569
|
|
|
570
570
|
|
|
571
571
|
export const ProductInfoHeaderValue: {
|
|
572
|
-
new(productName: string, productVersion: string): ProductInfoHeaderValue
|
|
573
|
-
new(product: ProductHeaderValue): ProductInfoHeaderValue
|
|
574
|
-
new(comment: string): ProductInfoHeaderValue
|
|
572
|
+
new(productName: string, productVersion: string | undefined): ProductInfoHeaderValue;
|
|
573
|
+
new(product: ProductHeaderValue): ProductInfoHeaderValue;
|
|
574
|
+
new(comment: string): ProductInfoHeaderValue;
|
|
575
575
|
parse(input: string): ProductInfoHeaderValue;
|
|
576
|
-
tryParse(input: string, parsedValue: ProductInfoHeaderValue): boolean;
|
|
576
|
+
tryParse(input: string, parsedValue: ProductInfoHeaderValue | undefined): boolean;
|
|
577
577
|
};
|
|
578
578
|
|
|
579
579
|
|
|
@@ -588,7 +588,7 @@ export type ProductInfoHeaderValue = ProductInfoHeaderValue$instance & __Product
|
|
|
588
588
|
|
|
589
589
|
export interface RangeConditionHeaderValue$instance {
|
|
590
590
|
readonly date: Nullable_1<DateTimeOffset>;
|
|
591
|
-
readonly entityTag: EntityTagHeaderValue;
|
|
591
|
+
readonly entityTag: EntityTagHeaderValue | undefined;
|
|
592
592
|
equals(obj: unknown): boolean;
|
|
593
593
|
getHashCode(): int;
|
|
594
594
|
toString(): string;
|
|
@@ -596,9 +596,9 @@ export interface RangeConditionHeaderValue$instance {
|
|
|
596
596
|
|
|
597
597
|
|
|
598
598
|
export const RangeConditionHeaderValue: {
|
|
599
|
-
new(date: DateTimeOffset): RangeConditionHeaderValue
|
|
600
|
-
new(entityTag: EntityTagHeaderValue): RangeConditionHeaderValue
|
|
601
|
-
new(entityTag: string): RangeConditionHeaderValue
|
|
599
|
+
new(date: DateTimeOffset): RangeConditionHeaderValue;
|
|
600
|
+
new(entityTag: EntityTagHeaderValue): RangeConditionHeaderValue;
|
|
601
|
+
new(entityTag: string): RangeConditionHeaderValue;
|
|
602
602
|
parse(input: string): RangeConditionHeaderValue;
|
|
603
603
|
tryParse(input: string, parsedValue: RangeConditionHeaderValue): boolean;
|
|
604
604
|
};
|
|
@@ -623,8 +623,8 @@ export interface RangeHeaderValue$instance {
|
|
|
623
623
|
|
|
624
624
|
|
|
625
625
|
export const RangeHeaderValue: {
|
|
626
|
-
new(): RangeHeaderValue
|
|
627
|
-
new(from_: Nullable_1<System_Internal.Int64>, to: Nullable_1<System_Internal.Int64>): RangeHeaderValue
|
|
626
|
+
new(): RangeHeaderValue;
|
|
627
|
+
new(from_: Nullable_1<System_Internal.Int64>, to: Nullable_1<System_Internal.Int64>): RangeHeaderValue;
|
|
628
628
|
parse(input: string): RangeHeaderValue;
|
|
629
629
|
tryParse(input: string, parsedValue: RangeHeaderValue): boolean;
|
|
630
630
|
};
|
|
@@ -644,12 +644,12 @@ export interface RangeItemHeaderValue$instance {
|
|
|
644
644
|
readonly to: Nullable_1<System_Internal.Int64>;
|
|
645
645
|
equals(obj: unknown): boolean;
|
|
646
646
|
getHashCode(): int;
|
|
647
|
-
toString(): string;
|
|
647
|
+
toString(): string | undefined;
|
|
648
648
|
}
|
|
649
649
|
|
|
650
650
|
|
|
651
651
|
export const RangeItemHeaderValue: {
|
|
652
|
-
new(from_: Nullable_1<System_Internal.Int64>, to: Nullable_1<System_Internal.Int64>): RangeItemHeaderValue
|
|
652
|
+
new(from_: Nullable_1<System_Internal.Int64>, to: Nullable_1<System_Internal.Int64>): RangeItemHeaderValue;
|
|
653
653
|
};
|
|
654
654
|
|
|
655
655
|
|
|
@@ -667,13 +667,13 @@ export interface RetryConditionHeaderValue$instance {
|
|
|
667
667
|
readonly delta: Nullable_1<TimeSpan>;
|
|
668
668
|
equals(obj: unknown): boolean;
|
|
669
669
|
getHashCode(): int;
|
|
670
|
-
toString(): string;
|
|
670
|
+
toString(): string | undefined;
|
|
671
671
|
}
|
|
672
672
|
|
|
673
673
|
|
|
674
674
|
export const RetryConditionHeaderValue: {
|
|
675
|
-
new(date: DateTimeOffset): RetryConditionHeaderValue
|
|
676
|
-
new(delta: TimeSpan): RetryConditionHeaderValue
|
|
675
|
+
new(date: DateTimeOffset): RetryConditionHeaderValue;
|
|
676
|
+
new(delta: TimeSpan): RetryConditionHeaderValue;
|
|
677
677
|
parse(input: string): RetryConditionHeaderValue;
|
|
678
678
|
tryParse(input: string, parsedValue: RetryConditionHeaderValue): boolean;
|
|
679
679
|
};
|
|
@@ -698,8 +698,8 @@ export interface StringWithQualityHeaderValue$instance {
|
|
|
698
698
|
|
|
699
699
|
|
|
700
700
|
export const StringWithQualityHeaderValue: {
|
|
701
|
-
new(value: string): StringWithQualityHeaderValue
|
|
702
|
-
new(value: string, quality: double): StringWithQualityHeaderValue
|
|
701
|
+
new(value: string): StringWithQualityHeaderValue;
|
|
702
|
+
new(value: string, quality: double): StringWithQualityHeaderValue;
|
|
703
703
|
parse(input: string): StringWithQualityHeaderValue;
|
|
704
704
|
tryParse(input: string, parsedValue: StringWithQualityHeaderValue): boolean;
|
|
705
705
|
};
|
|
@@ -724,7 +724,7 @@ export interface TransferCodingHeaderValue$instance {
|
|
|
724
724
|
|
|
725
725
|
|
|
726
726
|
export const TransferCodingHeaderValue: {
|
|
727
|
-
new(value: string): TransferCodingHeaderValue
|
|
727
|
+
new(value: string): TransferCodingHeaderValue;
|
|
728
728
|
parse(input: string): TransferCodingHeaderValue;
|
|
729
729
|
tryParse(input: string, parsedValue: TransferCodingHeaderValue): boolean;
|
|
730
730
|
};
|
|
@@ -746,8 +746,8 @@ export interface TransferCodingWithQualityHeaderValue$instance extends TransferC
|
|
|
746
746
|
|
|
747
747
|
|
|
748
748
|
export const TransferCodingWithQualityHeaderValue: {
|
|
749
|
-
new(value: string): TransferCodingWithQualityHeaderValue
|
|
750
|
-
new(value: string, quality: double): TransferCodingWithQualityHeaderValue
|
|
749
|
+
new(value: string): TransferCodingWithQualityHeaderValue;
|
|
750
|
+
new(value: string, quality: double): TransferCodingWithQualityHeaderValue;
|
|
751
751
|
};
|
|
752
752
|
|
|
753
753
|
|
|
@@ -762,7 +762,7 @@ export type TransferCodingWithQualityHeaderValue = TransferCodingWithQualityHead
|
|
|
762
762
|
|
|
763
763
|
export interface ViaHeaderValue$instance {
|
|
764
764
|
readonly comment: string;
|
|
765
|
-
readonly protocolName: string;
|
|
765
|
+
readonly protocolName: string | undefined;
|
|
766
766
|
readonly protocolVersion: string;
|
|
767
767
|
readonly receivedBy: string;
|
|
768
768
|
equals(obj: unknown): boolean;
|
|
@@ -772,9 +772,9 @@ export interface ViaHeaderValue$instance {
|
|
|
772
772
|
|
|
773
773
|
|
|
774
774
|
export const ViaHeaderValue: {
|
|
775
|
-
new(protocolVersion: string, receivedBy: string): ViaHeaderValue
|
|
776
|
-
new(protocolVersion: string, receivedBy: string, protocolName: string): ViaHeaderValue
|
|
777
|
-
new(protocolVersion: string, receivedBy: string, protocolName: string, comment: string): ViaHeaderValue
|
|
775
|
+
new(protocolVersion: string, receivedBy: string): ViaHeaderValue;
|
|
776
|
+
new(protocolVersion: string, receivedBy: string, protocolName: string | undefined): ViaHeaderValue;
|
|
777
|
+
new(protocolVersion: string, receivedBy: string, protocolName: string | undefined, comment: string | undefined): ViaHeaderValue;
|
|
778
778
|
parse(input: string): ViaHeaderValue;
|
|
779
779
|
tryParse(input: string, parsedValue: ViaHeaderValue): boolean;
|
|
780
780
|
};
|
|
@@ -801,8 +801,8 @@ export interface WarningHeaderValue$instance {
|
|
|
801
801
|
|
|
802
802
|
|
|
803
803
|
export const WarningHeaderValue: {
|
|
804
|
-
new(code: int, agent: string, text: string): WarningHeaderValue
|
|
805
|
-
new(code: int, agent: string, text: string, date: DateTimeOffset): WarningHeaderValue
|
|
804
|
+
new(code: int, agent: string, text: string): WarningHeaderValue;
|
|
805
|
+
new(code: int, agent: string, text: string, date: DateTimeOffset): WarningHeaderValue;
|
|
806
806
|
parse(input: string): WarningHeaderValue;
|
|
807
807
|
tryParse(input: string, parsedValue: WarningHeaderValue): boolean;
|
|
808
808
|
};
|
|
@@ -28,8 +28,8 @@ export interface JsonContent$instance extends HttpContent {
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
export const JsonContent: {
|
|
31
|
-
new(): JsonContent
|
|
32
|
-
create(inputValue: unknown, jsonTypeInfo: JsonTypeInfo, mediaType?: MediaTypeHeaderValue): JsonContent;
|
|
31
|
+
new(): JsonContent;
|
|
32
|
+
create(inputValue: unknown | undefined, jsonTypeInfo: JsonTypeInfo, mediaType?: MediaTypeHeaderValue | undefined): 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,69 +44,69 @@ 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, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<TValue>;
|
|
48
|
-
static deleteFromJsonAsync<TValue>(client: HttpClient, requestUri: string, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<TValue>;
|
|
49
|
-
static deleteFromJsonAsync<TValue>(client: HttpClient, requestUri: string, cancellationToken?: CancellationToken): Task_1<TValue>;
|
|
50
|
-
static deleteFromJsonAsync(client: HttpClient, requestUri: string, type_: Type, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<unknown>;
|
|
51
|
-
static deleteFromJsonAsync(client: HttpClient, requestUri: string, type_: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown>;
|
|
52
|
-
static deleteFromJsonAsync(client: HttpClient, requestUri: string, type_: Type, cancellationToken?: CancellationToken): Task_1<unknown>;
|
|
53
|
-
static deleteFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<TValue>;
|
|
54
|
-
static deleteFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<TValue>;
|
|
55
|
-
static deleteFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri, cancellationToken?: CancellationToken): Task_1<TValue>;
|
|
56
|
-
static deleteFromJsonAsync(client: HttpClient, requestUri: Uri, type_: Type, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<unknown>;
|
|
57
|
-
static deleteFromJsonAsync(client: HttpClient, requestUri: Uri, type_: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown>;
|
|
58
|
-
static deleteFromJsonAsync(client: HttpClient, requestUri: Uri, type_: Type, cancellationToken?: CancellationToken): Task_1<unknown>;
|
|
59
|
-
static getFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: string, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
|
|
60
|
-
static getFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: string, options: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
|
|
61
|
-
static getFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: string, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
|
|
62
|
-
static getFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: Uri, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
|
|
63
|
-
static getFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: Uri, options: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
|
|
64
|
-
static getFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: Uri, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
|
|
65
|
-
static getFromJsonAsync<TValue>(client: HttpClient, requestUri: string, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<TValue>;
|
|
66
|
-
static getFromJsonAsync<TValue>(client: HttpClient, requestUri: string, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<TValue>;
|
|
67
|
-
static getFromJsonAsync<TValue>(client: HttpClient, requestUri: string, cancellationToken?: CancellationToken): Task_1<TValue>;
|
|
68
|
-
static getFromJsonAsync(client: HttpClient, requestUri: string, type_: Type, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<unknown>;
|
|
69
|
-
static getFromJsonAsync(client: HttpClient, requestUri: string, type_: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown>;
|
|
70
|
-
static getFromJsonAsync(client: HttpClient, requestUri: string, type_: Type, cancellationToken?: CancellationToken): Task_1<unknown>;
|
|
71
|
-
static getFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<TValue>;
|
|
72
|
-
static getFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<TValue>;
|
|
73
|
-
static getFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri, cancellationToken?: CancellationToken): Task_1<TValue>;
|
|
74
|
-
static getFromJsonAsync(client: HttpClient, requestUri: Uri, type_: Type, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<unknown>;
|
|
75
|
-
static getFromJsonAsync(client: HttpClient, requestUri: Uri, type_: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown>;
|
|
76
|
-
static getFromJsonAsync(client: HttpClient, requestUri: Uri, type_: Type, cancellationToken?: CancellationToken): Task_1<unknown>;
|
|
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>;
|
|
47
|
+
static deleteFromJsonAsync<TValue>(client: HttpClient, requestUri: string | undefined, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<TValue | undefined>;
|
|
48
|
+
static deleteFromJsonAsync<TValue>(client: HttpClient, requestUri: string, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<TValue | undefined>;
|
|
49
|
+
static deleteFromJsonAsync<TValue>(client: HttpClient, requestUri: string, cancellationToken?: CancellationToken): Task_1<TValue | undefined>;
|
|
50
|
+
static deleteFromJsonAsync(client: HttpClient, requestUri: string | undefined, type_: Type, options: JsonSerializerOptions | undefined, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
51
|
+
static deleteFromJsonAsync(client: HttpClient, requestUri: string | undefined, type_: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
52
|
+
static deleteFromJsonAsync(client: HttpClient, requestUri: string | undefined, type_: Type, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
53
|
+
static deleteFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri | undefined, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<TValue | undefined>;
|
|
54
|
+
static deleteFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<TValue | undefined>;
|
|
55
|
+
static deleteFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri, cancellationToken?: CancellationToken): Task_1<TValue | undefined>;
|
|
56
|
+
static deleteFromJsonAsync(client: HttpClient, requestUri: Uri | undefined, type_: Type, options: JsonSerializerOptions | undefined, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
57
|
+
static deleteFromJsonAsync(client: HttpClient, requestUri: Uri | undefined, type_: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
58
|
+
static deleteFromJsonAsync(client: HttpClient, requestUri: Uri | undefined, type_: Type, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
59
|
+
static getFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: string | undefined, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
|
|
60
|
+
static getFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: string, options: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
|
|
61
|
+
static getFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: string, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
|
|
62
|
+
static getFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: Uri | undefined, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
|
|
63
|
+
static getFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: Uri, options: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
|
|
64
|
+
static getFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: Uri, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
|
|
65
|
+
static getFromJsonAsync<TValue>(client: HttpClient, requestUri: string | undefined, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<TValue | undefined>;
|
|
66
|
+
static getFromJsonAsync<TValue>(client: HttpClient, requestUri: string, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<TValue | undefined>;
|
|
67
|
+
static getFromJsonAsync<TValue>(client: HttpClient, requestUri: string, cancellationToken?: CancellationToken): Task_1<TValue | undefined>;
|
|
68
|
+
static getFromJsonAsync(client: HttpClient, requestUri: string | undefined, type_: Type, options: JsonSerializerOptions | undefined, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
69
|
+
static getFromJsonAsync(client: HttpClient, requestUri: string | undefined, type_: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
70
|
+
static getFromJsonAsync(client: HttpClient, requestUri: string | undefined, type_: Type, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
71
|
+
static getFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri | undefined, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<TValue | undefined>;
|
|
72
|
+
static getFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<TValue | undefined>;
|
|
73
|
+
static getFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri, cancellationToken?: CancellationToken): Task_1<TValue | undefined>;
|
|
74
|
+
static getFromJsonAsync(client: HttpClient, requestUri: Uri | undefined, type_: Type, options: JsonSerializerOptions | undefined, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
75
|
+
static getFromJsonAsync(client: HttpClient, requestUri: Uri | undefined, type_: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
76
|
+
static getFromJsonAsync(client: HttpClient, requestUri: Uri | undefined, type_: Type, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
77
|
+
static patchAsJsonAsync<TValue>(client: HttpClient, requestUri: string | undefined, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
78
|
+
static patchAsJsonAsync<TValue>(client: HttpClient, requestUri: string | undefined, value: TValue, options?: JsonSerializerOptions | undefined, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
79
|
+
static patchAsJsonAsync<TValue>(client: HttpClient, requestUri: string | undefined, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
80
|
+
static patchAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri | undefined, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
81
|
+
static patchAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri | undefined, value: TValue, options?: JsonSerializerOptions | undefined, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
82
|
+
static patchAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri | undefined, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
83
|
+
static postAsJsonAsync<TValue>(client: HttpClient, requestUri: string | undefined, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
84
|
+
static postAsJsonAsync<TValue>(client: HttpClient, requestUri: string | undefined, value: TValue, options?: JsonSerializerOptions | undefined, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
85
|
+
static postAsJsonAsync<TValue>(client: HttpClient, requestUri: string | undefined, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
86
|
+
static postAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri | undefined, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
87
|
+
static postAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri | undefined, value: TValue, options?: JsonSerializerOptions | undefined, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
88
|
+
static postAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri | undefined, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
89
|
+
static putAsJsonAsync<TValue>(client: HttpClient, requestUri: string | undefined, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
90
|
+
static putAsJsonAsync<TValue>(client: HttpClient, requestUri: string | undefined, value: TValue, options?: JsonSerializerOptions | undefined, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
91
|
+
static putAsJsonAsync<TValue>(client: HttpClient, requestUri: string | undefined, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
92
|
+
static putAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri | undefined, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
93
|
+
static putAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri | undefined, value: TValue, options?: JsonSerializerOptions | undefined, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
94
|
+
static putAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri | undefined, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
|
|
98
98
|
export type HttpClientJsonExtensions = HttpClientJsonExtensions$instance;
|
|
99
99
|
|
|
100
100
|
export abstract class HttpContentJsonExtensions$instance {
|
|
101
|
-
static readFromJsonAsAsyncEnumerable<TValue>(content: HttpContent, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
|
|
102
|
-
static readFromJsonAsAsyncEnumerable<TValue>(content: HttpContent, options: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
|
|
103
|
-
static readFromJsonAsAsyncEnumerable<TValue>(content: HttpContent, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
|
|
104
|
-
static readFromJsonAsync<T>(content: HttpContent, jsonTypeInfo: JsonTypeInfo_1<T>, cancellationToken?: CancellationToken): Task_1<T>;
|
|
105
|
-
static readFromJsonAsync<T>(content: HttpContent, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<T>;
|
|
106
|
-
static readFromJsonAsync<T>(content: HttpContent, cancellationToken?: CancellationToken): Task_1<T>;
|
|
107
|
-
static readFromJsonAsync(content: HttpContent, type_: Type, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<unknown>;
|
|
108
|
-
static readFromJsonAsync(content: HttpContent, type_: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown>;
|
|
109
|
-
static readFromJsonAsync(content: HttpContent, type_: Type, cancellationToken?: CancellationToken): Task_1<unknown>;
|
|
101
|
+
static readFromJsonAsAsyncEnumerable<TValue>(content: HttpContent, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
|
|
102
|
+
static readFromJsonAsAsyncEnumerable<TValue>(content: HttpContent, options: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
|
|
103
|
+
static readFromJsonAsAsyncEnumerable<TValue>(content: HttpContent, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
|
|
104
|
+
static readFromJsonAsync<T>(content: HttpContent, jsonTypeInfo: JsonTypeInfo_1<T>, cancellationToken?: CancellationToken): Task_1<T | undefined>;
|
|
105
|
+
static readFromJsonAsync<T>(content: HttpContent, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<T | undefined>;
|
|
106
|
+
static readFromJsonAsync<T>(content: HttpContent, cancellationToken?: CancellationToken): Task_1<T | undefined>;
|
|
107
|
+
static readFromJsonAsync(content: HttpContent, type_: Type, options: JsonSerializerOptions | undefined, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
108
|
+
static readFromJsonAsync(content: HttpContent, type_: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
109
|
+
static readFromJsonAsync(content: HttpContent, type_: Type, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
|
|
@@ -14,12 +14,12 @@ 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): void;
|
|
17
|
+
addCustomTag(name: string, value: unknown | undefined): void;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
export const HttpMetricsEnrichmentContext: {
|
|
22
|
-
new(): HttpMetricsEnrichmentContext
|
|
22
|
+
new(): HttpMetricsEnrichmentContext;
|
|
23
23
|
addCallback(request: HttpRequestMessage, callback: Action_1<HttpMetricsEnrichmentContext>): void;
|
|
24
24
|
};
|
|
25
25
|
|