@tsonic/dotnet 10.0.40 → 10.0.42
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/Internal/bindings.json +5 -5
- package/Internal/internal/index.d.ts +4 -3
- package/Internal.d.ts +4 -0
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +19 -18
- package/Microsoft.CSharp.RuntimeBinder.d.ts +4 -0
- package/Microsoft.VisualBasic/bindings.json +13 -13
- package/Microsoft.VisualBasic/internal/index.d.ts +5 -7
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +3 -5
- package/Microsoft.VisualBasic.CompilerServices.d.ts +4 -0
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +4 -3
- package/Microsoft.VisualBasic.FileIO.d.ts +4 -0
- package/Microsoft.VisualBasic.d.ts +4 -0
- package/Microsoft.Win32/internal/index.d.ts +19 -18
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +3 -2
- package/Microsoft.Win32.SafeHandles.d.ts +4 -0
- package/Microsoft.Win32.d.ts +4 -0
- package/README.md +83 -104
- package/System/bindings.json +1858 -2297
- package/System/internal/index.d.ts +1972 -2010
- package/System.Buffers/bindings.json +12 -3
- package/System.Buffers/internal/index.d.ts +56 -58
- package/System.Buffers.Binary/internal/index.d.ts +2 -4
- package/System.Buffers.Binary.d.ts +4 -0
- package/System.Buffers.Text/internal/index.d.ts +2 -4
- package/System.Buffers.Text.d.ts +4 -0
- package/System.Buffers.d.ts +10 -6
- package/System.CodeDom.Compiler/internal/index.d.ts +31 -30
- package/System.CodeDom.Compiler.d.ts +4 -0
- package/System.Collections/bindings.json +300 -300
- package/System.Collections/internal/index.d.ts +90 -92
- package/System.Collections.Concurrent/bindings.json +311 -311
- package/System.Collections.Concurrent/internal/index.d.ts +83 -85
- package/System.Collections.Concurrent.d.ts +7 -3
- package/System.Collections.Frozen/bindings.json +490 -648
- package/System.Collections.Frozen/internal/index.d.ts +95 -109
- package/System.Collections.Frozen.d.ts +18 -2
- package/System.Collections.Generic/bindings.json +9628 -14043
- package/System.Collections.Generic/internal/index.d.ts +632 -827
- package/System.Collections.Generic.d.ts +20 -16
- package/System.Collections.Immutable/bindings.json +6134 -9214
- package/System.Collections.Immutable/internal/index.d.ts +414 -502
- package/System.Collections.Immutable.d.ts +58 -17
- package/System.Collections.ObjectModel/bindings.json +328 -850
- package/System.Collections.ObjectModel/internal/index.d.ts +42 -62
- package/System.Collections.ObjectModel.d.ts +6 -2
- package/System.Collections.Specialized/bindings.json +79 -202
- package/System.Collections.Specialized/internal/index.d.ts +72 -85
- package/System.Collections.Specialized.d.ts +4 -0
- package/System.Collections.d.ts +4 -0
- package/System.ComponentModel/bindings.json +271 -210
- package/System.ComponentModel/internal/index.d.ts +562 -547
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +126 -125
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +8 -7
- package/System.ComponentModel.DataAnnotations.Schema.d.ts +4 -0
- package/System.ComponentModel.DataAnnotations.d.ts +4 -0
- package/System.ComponentModel.Design/bindings.json +40 -310
- package/System.ComponentModel.Design/internal/index.d.ts +85 -93
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +42 -41
- package/System.ComponentModel.Design.Serialization.d.ts +4 -0
- package/System.ComponentModel.Design.d.ts +4 -0
- package/System.ComponentModel.d.ts +5 -0
- package/System.Configuration.Assemblies/internal/index.d.ts +3 -2
- package/System.Configuration.Assemblies.d.ts +4 -0
- package/System.Data/bindings.json +128 -125
- package/System.Data/internal/index.d.ts +341 -340
- package/System.Data.Common/bindings.json +68 -68
- package/System.Data.Common/internal/index.d.ts +135 -136
- package/System.Data.Common.d.ts +4 -0
- package/System.Data.SqlTypes/internal/index.d.ts +55 -54
- package/System.Data.SqlTypes.d.ts +4 -0
- package/System.Data.d.ts +8 -4
- package/System.Diagnostics/bindings.json +6324 -6509
- package/System.Diagnostics/internal/index.d.ts +435 -437
- package/System.Diagnostics.CodeAnalysis/bindings.json +121 -121
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +44 -43
- package/System.Diagnostics.CodeAnalysis.d.ts +4 -0
- package/System.Diagnostics.Contracts/bindings.json +62 -62
- package/System.Diagnostics.Contracts/internal/index.d.ts +23 -25
- package/System.Diagnostics.Contracts.d.ts +4 -0
- package/System.Diagnostics.Metrics/internal/index.d.ts +82 -84
- package/System.Diagnostics.Metrics.d.ts +7 -3
- package/System.Diagnostics.SymbolStore/bindings.json +2 -2
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +11 -10
- package/System.Diagnostics.SymbolStore.d.ts +4 -0
- package/System.Diagnostics.Tracing/bindings.json +291 -231
- package/System.Diagnostics.Tracing/internal/index.d.ts +69 -56
- package/System.Diagnostics.Tracing.d.ts +6 -1
- package/System.Diagnostics.d.ts +5 -1
- package/System.Drawing/internal/index.d.ts +76 -75
- package/System.Drawing.d.ts +4 -0
- package/System.Dynamic/bindings.json +13 -13
- package/System.Dynamic/internal/index.d.ts +35 -36
- package/System.Dynamic.d.ts +4 -0
- package/System.Formats.Asn1/bindings.json +48 -69
- package/System.Formats.Asn1/internal/index.d.ts +30 -37
- package/System.Formats.Asn1.d.ts +4 -0
- package/System.Formats.Tar/internal/index.d.ts +8 -7
- package/System.Formats.Tar.d.ts +4 -0
- package/System.Globalization/bindings.json +3 -3
- package/System.Globalization/internal/index.d.ts +35 -37
- package/System.Globalization.d.ts +4 -0
- package/System.IO/bindings.json +957 -957
- package/System.IO/internal/index.d.ts +183 -185
- package/System.IO.Compression/internal/index.d.ts +33 -35
- package/System.IO.Compression.d.ts +4 -0
- package/System.IO.Enumeration/bindings.json +402 -402
- package/System.IO.Enumeration/internal/index.d.ts +21 -23
- package/System.IO.Enumeration.d.ts +4 -0
- package/System.IO.IsolatedStorage/internal/index.d.ts +16 -15
- package/System.IO.IsolatedStorage.d.ts +4 -0
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +11 -10
- package/System.IO.MemoryMappedFiles.d.ts +4 -0
- package/System.IO.Pipelines/internal/index.d.ts +15 -17
- package/System.IO.Pipelines.d.ts +4 -0
- package/System.IO.Pipes/internal/index.d.ts +8 -7
- package/System.IO.Pipes.d.ts +4 -0
- package/System.IO.d.ts +4 -0
- package/System.Linq/bindings.json +22 -22
- package/System.Linq/internal/index.d.ts +705 -705
- package/System.Linq.Expressions/internal/index.d.ts +219 -195
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +5 -4
- package/System.Linq.Expressions.Interpreter.d.ts +4 -0
- package/System.Linq.Expressions.d.ts +6 -2
- package/System.Linq.d.ts +18 -14
- package/System.Net/bindings.json +131 -131
- package/System.Net/internal/index.d.ts +276 -278
- package/System.Net.Cache/internal/index.d.ts +3 -2
- package/System.Net.Cache.d.ts +4 -0
- package/System.Net.Http/bindings.json +22 -22
- package/System.Net.Http/internal/index.d.ts +128 -130
- package/System.Net.Http.Headers/bindings.json +36 -200
- package/System.Net.Http.Headers/internal/index.d.ts +114 -128
- package/System.Net.Http.Headers.d.ts +4 -0
- package/System.Net.Http.Json/internal/index.d.ts +67 -69
- package/System.Net.Http.Json.d.ts +4 -0
- package/System.Net.Http.Metrics/internal/index.d.ts +6 -5
- package/System.Net.Http.Metrics.d.ts +4 -0
- package/System.Net.Http.d.ts +5 -1
- package/System.Net.Mail/bindings.json +96 -96
- package/System.Net.Mail/internal/index.d.ts +78 -80
- package/System.Net.Mail.d.ts +4 -0
- package/System.Net.Mime/internal/index.d.ts +11 -10
- package/System.Net.Mime.d.ts +4 -0
- package/System.Net.NetworkInformation/bindings.json +40 -40
- package/System.Net.NetworkInformation/internal/index.d.ts +30 -32
- package/System.Net.NetworkInformation.d.ts +4 -0
- package/System.Net.Quic/internal/index.d.ts +11 -10
- package/System.Net.Quic.d.ts +4 -0
- package/System.Net.Security/internal/index.d.ts +90 -92
- package/System.Net.Security.d.ts +4 -0
- package/System.Net.ServerSentEvents/internal/index.d.ts +13 -12
- package/System.Net.ServerSentEvents.d.ts +7 -3
- package/System.Net.Sockets/internal/index.d.ts +91 -93
- package/System.Net.Sockets.d.ts +4 -0
- package/System.Net.WebSockets/bindings.json +101 -101
- package/System.Net.WebSockets/internal/index.d.ts +49 -48
- package/System.Net.WebSockets.d.ts +4 -0
- package/System.Net.d.ts +4 -0
- package/System.Numerics/bindings.json +547 -119
- package/System.Numerics/internal/index.d.ts +302 -304
- package/System.Numerics.d.ts +38 -34
- package/System.Reflection/bindings.json +870 -870
- package/System.Reflection/internal/index.d.ts +257 -259
- package/System.Reflection.Emit/bindings.json +754 -754
- package/System.Reflection.Emit/internal/index.d.ts +114 -114
- package/System.Reflection.Emit.d.ts +4 -0
- package/System.Reflection.Metadata/bindings.json +535 -3018
- package/System.Reflection.Metadata/internal/index.d.ts +188 -369
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +16 -18
- package/System.Reflection.Metadata.Ecma335.d.ts +4 -0
- package/System.Reflection.Metadata.d.ts +9 -5
- package/System.Reflection.PortableExecutable/bindings.json +58 -0
- package/System.Reflection.PortableExecutable/internal/index.d.ts +25 -12
- package/System.Reflection.PortableExecutable.d.ts +5 -0
- package/System.Reflection.d.ts +4 -0
- package/System.Resources/bindings.json +3 -3
- package/System.Resources/internal/index.d.ts +33 -35
- package/System.Resources.d.ts +4 -0
- package/System.Runtime/bindings.json +9 -9
- package/System.Runtime/internal/index.d.ts +11 -10
- package/System.Runtime.CompilerServices/bindings.json +962 -1160
- package/System.Runtime.CompilerServices/internal/index.d.ts +280 -304
- package/System.Runtime.CompilerServices.d.ts +30 -16
- package/System.Runtime.ConstrainedExecution/bindings.json +9 -9
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -2
- package/System.Runtime.ConstrainedExecution.d.ts +4 -0
- package/System.Runtime.ExceptionServices/bindings.json +9 -9
- package/System.Runtime.ExceptionServices/internal/index.d.ts +3 -2
- package/System.Runtime.ExceptionServices.d.ts +4 -0
- package/System.Runtime.InteropServices/bindings.json +666 -666
- package/System.Runtime.InteropServices/internal/index.d.ts +250 -252
- package/System.Runtime.InteropServices.ComTypes/bindings.json +349 -349
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +22 -24
- package/System.Runtime.InteropServices.ComTypes.d.ts +4 -0
- package/System.Runtime.InteropServices.Java/bindings.json +12 -12
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +3 -5
- package/System.Runtime.InteropServices.Java.d.ts +4 -0
- package/System.Runtime.InteropServices.JavaScript/bindings.json +328 -328
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +70 -72
- package/System.Runtime.InteropServices.JavaScript.d.ts +14 -28
- package/System.Runtime.InteropServices.Marshalling/bindings.json +2422 -2422
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +317 -319
- package/System.Runtime.InteropServices.Marshalling.d.ts +4 -0
- package/System.Runtime.InteropServices.ObjectiveC/bindings.json +151 -151
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +16 -18
- package/System.Runtime.InteropServices.ObjectiveC.d.ts +4 -0
- package/System.Runtime.InteropServices.Swift/bindings.json +4 -4
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +5 -7
- package/System.Runtime.InteropServices.Swift.d.ts +6 -2
- package/System.Runtime.InteropServices.d.ts +6 -2
- package/System.Runtime.Intrinsics/bindings.json +64 -16
- package/System.Runtime.Intrinsics/internal/index.d.ts +515 -517
- package/System.Runtime.Intrinsics.Arm/bindings.json +31 -31
- package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +12 -13
- package/System.Runtime.Intrinsics.Arm.d.ts +4 -0
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +2 -4
- package/System.Runtime.Intrinsics.Wasm.d.ts +4 -0
- package/System.Runtime.Intrinsics.X86/bindings.json +38 -38
- package/System.Runtime.Intrinsics.X86/internal/index.d.ts +42 -41
- package/System.Runtime.Intrinsics.X86.d.ts +4 -0
- package/System.Runtime.Intrinsics.d.ts +12 -8
- package/System.Runtime.Loader/bindings.json +48 -69
- package/System.Runtime.Loader/internal/index.d.ts +30 -34
- package/System.Runtime.Loader.d.ts +4 -0
- package/System.Runtime.Remoting/internal/index.d.ts +5 -4
- package/System.Runtime.Remoting.d.ts +4 -0
- package/System.Runtime.Serialization/bindings.json +13 -13
- package/System.Runtime.Serialization/internal/index.d.ts +124 -126
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +28 -30
- package/System.Runtime.Serialization.DataContracts.d.ts +4 -0
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +7 -6
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +8 -7
- package/System.Runtime.Serialization.Formatters.Binary.d.ts +4 -0
- package/System.Runtime.Serialization.Formatters.d.ts +4 -0
- package/System.Runtime.Serialization.Json/internal/index.d.ts +37 -36
- package/System.Runtime.Serialization.Json.d.ts +4 -0
- package/System.Runtime.Serialization.d.ts +4 -0
- package/System.Runtime.Versioning/bindings.json +13 -13
- package/System.Runtime.Versioning/internal/index.d.ts +20 -19
- package/System.Runtime.Versioning.d.ts +4 -0
- package/System.Runtime.d.ts +4 -0
- package/System.Security/bindings.json +5 -5
- package/System.Security/internal/index.d.ts +64 -66
- package/System.Security.AccessControl/bindings.json +137 -33
- package/System.Security.AccessControl/internal/index.d.ts +62 -61
- package/System.Security.AccessControl.d.ts +13 -8
- package/System.Security.Authentication/internal/index.d.ts +7 -6
- package/System.Security.Authentication.ExtendedProtection/bindings.json +5 -5
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +12 -11
- package/System.Security.Authentication.ExtendedProtection.d.ts +4 -0
- package/System.Security.Authentication.d.ts +4 -0
- package/System.Security.Claims/internal/index.d.ts +45 -44
- package/System.Security.Claims.d.ts +4 -0
- package/System.Security.Cryptography/bindings.json +509 -509
- package/System.Security.Cryptography/internal/index.d.ts +268 -269
- package/System.Security.Cryptography.X509Certificates/bindings.json +312 -374
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +96 -103
- package/System.Security.Cryptography.X509Certificates.d.ts +4 -0
- package/System.Security.Cryptography.d.ts +4 -0
- package/System.Security.Permissions/internal/index.d.ts +5 -4
- package/System.Security.Permissions.d.ts +4 -0
- package/System.Security.Policy/bindings.json +5 -5
- package/System.Security.Policy/internal/index.d.ts +9 -8
- package/System.Security.Policy.d.ts +4 -0
- package/System.Security.Principal/bindings.json +8 -8
- package/System.Security.Principal/internal/index.d.ts +30 -29
- package/System.Security.Principal.d.ts +4 -0
- package/System.Security.d.ts +4 -0
- package/System.Text/bindings.json +1577 -1577
- package/System.Text/internal/index.d.ts +121 -123
- package/System.Text.Encodings.Web/internal/index.d.ts +2 -4
- package/System.Text.Encodings.Web.d.ts +4 -0
- package/System.Text.Json/bindings.json +0 -290
- package/System.Text.Json/internal/index.d.ts +143 -161
- package/System.Text.Json.Nodes/bindings.json +27 -27
- package/System.Text.Json.Nodes/internal/index.d.ts +63 -65
- package/System.Text.Json.Nodes.d.ts +4 -0
- package/System.Text.Json.Schema/internal/index.d.ts +9 -8
- package/System.Text.Json.Schema.d.ts +4 -0
- package/System.Text.Json.Serialization/internal/index.d.ts +37 -39
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +120 -119
- package/System.Text.Json.Serialization.Metadata.d.ts +6 -2
- package/System.Text.Json.Serialization.d.ts +10 -6
- package/System.Text.Json.d.ts +4 -0
- package/System.Text.RegularExpressions/bindings.json +414 -578
- package/System.Text.RegularExpressions/internal/index.d.ts +48 -62
- package/System.Text.RegularExpressions.d.ts +4 -0
- package/System.Text.Unicode/bindings.json +508 -508
- package/System.Text.Unicode/internal/index.d.ts +29 -31
- package/System.Text.Unicode.d.ts +4 -0
- package/System.Text.d.ts +4 -0
- package/System.Threading/bindings.json +61 -61
- package/System.Threading/internal/index.d.ts +156 -158
- package/System.Threading.Channels/internal/index.d.ts +31 -33
- package/System.Threading.Channels.d.ts +8 -4
- package/System.Threading.Tasks/bindings.json +142 -39
- package/System.Threading.Tasks/internal/index.d.ts +250 -247
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +121 -122
- package/System.Threading.Tasks.Dataflow.d.ts +18 -14
- package/System.Threading.Tasks.Sources/bindings.json +9 -9
- package/System.Threading.Tasks.Sources/internal/index.d.ts +11 -10
- package/System.Threading.Tasks.Sources.d.ts +6 -2
- package/System.Threading.Tasks.d.ts +12 -8
- package/System.Threading.d.ts +4 -0
- package/System.Timers/internal/index.d.ts +8 -7
- package/System.Timers.d.ts +4 -0
- package/System.Transactions/internal/index.d.ts +31 -30
- package/System.Transactions.d.ts +4 -0
- package/System.Web/internal/index.d.ts +32 -31
- package/System.Web.d.ts +4 -0
- package/System.Windows.Input/internal/index.d.ts +5 -4
- package/System.Windows.Input.d.ts +4 -0
- package/System.Windows.Markup/internal/index.d.ts +3 -2
- package/System.Windows.Markup.d.ts +4 -0
- package/System.Xml/bindings.json +27 -27
- package/System.Xml/internal/index.d.ts +376 -378
- package/System.Xml.Linq/bindings.json +6 -6
- package/System.Xml.Linq/internal/index.d.ts +101 -100
- package/System.Xml.Linq.d.ts +4 -0
- package/System.Xml.Resolvers/internal/index.d.ts +10 -9
- package/System.Xml.Resolvers.d.ts +4 -0
- package/System.Xml.Schema/bindings.json +100 -100
- package/System.Xml.Schema/internal/index.d.ts +231 -230
- package/System.Xml.Schema.d.ts +4 -0
- package/System.Xml.Serialization/bindings.json +250 -57
- package/System.Xml.Serialization/internal/index.d.ts +274 -242
- package/System.Xml.Serialization.d.ts +6 -0
- package/System.Xml.XPath/bindings.json +1 -1
- package/System.Xml.XPath/internal/index.d.ts +37 -36
- package/System.Xml.XPath.d.ts +4 -0
- package/System.Xml.Xsl/bindings.json +1 -1
- package/System.Xml.Xsl/internal/index.d.ts +50 -49
- package/System.Xml.Xsl.Runtime/bindings.json +74 -71
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +38 -40
- package/System.Xml.Xsl.Runtime.d.ts +4 -0
- package/System.Xml.Xsl.d.ts +4 -0
- package/System.Xml.d.ts +4 -0
- package/System.d.ts +126 -122
- package/__internal/extensions/index.d.ts +1335 -1338
- package/families.json +63 -7
- package/package.json +2 -2
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
// Namespace: System.Net.Http.Json
|
|
3
3
|
// Assembly: System.Net.Http.Json
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
7
|
|
|
8
|
-
// Import support types from @tsonic/core
|
|
9
|
-
import type { ptr } from "@tsonic/core/types.js";
|
|
10
8
|
|
|
11
9
|
// Import types from other namespaces
|
|
12
10
|
import type { IAsyncEnumerable_1 } from "../../System.Collections.Generic/internal/index.js";
|
|
@@ -29,19 +27,19 @@ export interface JsonContent$instance extends HttpContent {
|
|
|
29
27
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
30
28
|
|
|
31
29
|
readonly ObjectType: Type;
|
|
32
|
-
readonly Value: unknown |
|
|
33
|
-
SerializeToStream(stream: Stream, context: TransportContext, cancellationToken: CancellationToken): void;
|
|
34
|
-
SerializeToStreamAsync(stream: Stream, context: TransportContext): Task;
|
|
35
|
-
SerializeToStreamAsync(stream: Stream, context: TransportContext, cancellationToken: CancellationToken): Task;
|
|
30
|
+
readonly Value: unknown | null;
|
|
31
|
+
SerializeToStream(stream: Stream, context: TransportContext | null, cancellationToken: CancellationToken): void;
|
|
32
|
+
SerializeToStreamAsync(stream: Stream, context: TransportContext | null): Task;
|
|
33
|
+
SerializeToStreamAsync(stream: Stream, context: TransportContext | null, cancellationToken: CancellationToken): Task;
|
|
36
34
|
TryComputeLength(length: long): boolean;
|
|
37
35
|
}
|
|
38
36
|
|
|
39
37
|
|
|
40
38
|
export const JsonContent: {
|
|
41
|
-
Create(inputValue: unknown, jsonTypeInfo: JsonTypeInfo, mediaType?: MediaTypeHeaderValue): JsonContent;
|
|
42
|
-
Create(inputValue: unknown, inputType: Type, mediaType?: MediaTypeHeaderValue, options?: JsonSerializerOptions): JsonContent;
|
|
43
|
-
Create<T>(inputValue: T, jsonTypeInfo: JsonTypeInfo_1<T>, mediaType?: MediaTypeHeaderValue): JsonContent;
|
|
44
|
-
Create<T>(inputValue: T, mediaType?: MediaTypeHeaderValue, options?: JsonSerializerOptions): JsonContent;
|
|
39
|
+
Create(inputValue: unknown | null, jsonTypeInfo: JsonTypeInfo, mediaType?: MediaTypeHeaderValue | null): JsonContent;
|
|
40
|
+
Create(inputValue: unknown | null, inputType: Type, mediaType?: MediaTypeHeaderValue | null, options?: JsonSerializerOptions | null): JsonContent;
|
|
41
|
+
Create<T extends unknown>(inputValue: T | null, jsonTypeInfo: JsonTypeInfo_1<T>, mediaType?: MediaTypeHeaderValue | null): JsonContent;
|
|
42
|
+
Create<T extends unknown>(inputValue: T, mediaType?: MediaTypeHeaderValue | null, options?: JsonSerializerOptions | null): JsonContent;
|
|
45
43
|
};
|
|
46
44
|
|
|
47
45
|
|
|
@@ -53,69 +51,69 @@ export type JsonContent = JsonContent$instance & __JsonContent$views;
|
|
|
53
51
|
|
|
54
52
|
|
|
55
53
|
export abstract class HttpClientJsonExtensions$instance {
|
|
56
|
-
static DeleteFromJsonAsync<TValue>(client: HttpClient, requestUri: string, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<TValue |
|
|
57
|
-
static DeleteFromJsonAsync<TValue>(client: HttpClient, requestUri: string, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<TValue |
|
|
58
|
-
static DeleteFromJsonAsync<TValue>(client: HttpClient, requestUri: string, cancellationToken?: CancellationToken): Task_1<TValue |
|
|
59
|
-
static DeleteFromJsonAsync(client: HttpClient, requestUri: string, type: Type, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<unknown |
|
|
60
|
-
static DeleteFromJsonAsync(client: HttpClient, requestUri: string, type: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown |
|
|
61
|
-
static DeleteFromJsonAsync(client: HttpClient, requestUri: string, type: Type, cancellationToken?: CancellationToken): Task_1<unknown |
|
|
62
|
-
static DeleteFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<TValue |
|
|
63
|
-
static DeleteFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<TValue |
|
|
64
|
-
static DeleteFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri, cancellationToken?: CancellationToken): Task_1<TValue |
|
|
65
|
-
static DeleteFromJsonAsync(client: HttpClient, requestUri: Uri, type: Type, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<unknown |
|
|
66
|
-
static DeleteFromJsonAsync(client: HttpClient, requestUri: Uri, type: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown |
|
|
67
|
-
static DeleteFromJsonAsync(client: HttpClient, requestUri: Uri, type: Type, cancellationToken?: CancellationToken): Task_1<unknown |
|
|
68
|
-
static GetFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: string, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue |
|
|
69
|
-
static GetFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: string, options: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue |
|
|
70
|
-
static GetFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: string, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue |
|
|
71
|
-
static GetFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: Uri, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue |
|
|
72
|
-
static GetFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: Uri, options: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue |
|
|
73
|
-
static GetFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: Uri, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue |
|
|
74
|
-
static GetFromJsonAsync<TValue>(client: HttpClient, requestUri: string, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<TValue |
|
|
75
|
-
static GetFromJsonAsync<TValue>(client: HttpClient, requestUri: string, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<TValue |
|
|
76
|
-
static GetFromJsonAsync<TValue>(client: HttpClient, requestUri: string, cancellationToken?: CancellationToken): Task_1<TValue |
|
|
77
|
-
static GetFromJsonAsync(client: HttpClient, requestUri: string, type: Type, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<unknown |
|
|
78
|
-
static GetFromJsonAsync(client: HttpClient, requestUri: string, type: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown |
|
|
79
|
-
static GetFromJsonAsync(client: HttpClient, requestUri: string, type: Type, cancellationToken?: CancellationToken): Task_1<unknown |
|
|
80
|
-
static GetFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<TValue |
|
|
81
|
-
static GetFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<TValue |
|
|
82
|
-
static GetFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri, cancellationToken?: CancellationToken): Task_1<TValue |
|
|
83
|
-
static GetFromJsonAsync(client: HttpClient, requestUri: Uri, type: Type, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<unknown |
|
|
84
|
-
static GetFromJsonAsync(client: HttpClient, requestUri: Uri, type: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown |
|
|
85
|
-
static GetFromJsonAsync(client: HttpClient, requestUri: Uri, type: Type, cancellationToken?: CancellationToken): Task_1<unknown |
|
|
86
|
-
static PatchAsJsonAsync<TValue>(client: HttpClient, requestUri: string, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
87
|
-
static PatchAsJsonAsync<TValue>(client: HttpClient, requestUri: string, value: TValue, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
88
|
-
static PatchAsJsonAsync<TValue>(client: HttpClient, requestUri: string, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
89
|
-
static PatchAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
90
|
-
static PatchAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri, value: TValue, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
91
|
-
static PatchAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
92
|
-
static PostAsJsonAsync<TValue>(client: HttpClient, requestUri: string, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
93
|
-
static PostAsJsonAsync<TValue>(client: HttpClient, requestUri: string, value: TValue, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
94
|
-
static PostAsJsonAsync<TValue>(client: HttpClient, requestUri: string, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
95
|
-
static PostAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
96
|
-
static PostAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri, value: TValue, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
97
|
-
static PostAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
98
|
-
static PutAsJsonAsync<TValue>(client: HttpClient, requestUri: string, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
99
|
-
static PutAsJsonAsync<TValue>(client: HttpClient, requestUri: string, value: TValue, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
100
|
-
static PutAsJsonAsync<TValue>(client: HttpClient, requestUri: string, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
101
|
-
static PutAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
102
|
-
static PutAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri, value: TValue, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
103
|
-
static PutAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
54
|
+
static DeleteFromJsonAsync<TValue extends unknown>(client: HttpClient, requestUri: string | null, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<TValue | null>;
|
|
55
|
+
static DeleteFromJsonAsync<TValue extends unknown>(client: HttpClient, requestUri: string | null, options: JsonSerializerOptions | null, cancellationToken?: CancellationToken): Task_1<TValue | null>;
|
|
56
|
+
static DeleteFromJsonAsync<TValue extends unknown>(client: HttpClient, requestUri: string | null, cancellationToken?: CancellationToken): Task_1<TValue | null>;
|
|
57
|
+
static DeleteFromJsonAsync(client: HttpClient, requestUri: string | null, type: Type, options: JsonSerializerOptions | null, cancellationToken?: CancellationToken): Task_1<unknown | null>;
|
|
58
|
+
static DeleteFromJsonAsync(client: HttpClient, requestUri: string | null, type: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown | null>;
|
|
59
|
+
static DeleteFromJsonAsync(client: HttpClient, requestUri: string | null, type: Type, cancellationToken?: CancellationToken): Task_1<unknown | null>;
|
|
60
|
+
static DeleteFromJsonAsync<TValue extends unknown>(client: HttpClient, requestUri: Uri | null, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<TValue | null>;
|
|
61
|
+
static DeleteFromJsonAsync<TValue extends unknown>(client: HttpClient, requestUri: Uri | null, options: JsonSerializerOptions | null, cancellationToken?: CancellationToken): Task_1<TValue | null>;
|
|
62
|
+
static DeleteFromJsonAsync<TValue extends unknown>(client: HttpClient, requestUri: Uri | null, cancellationToken?: CancellationToken): Task_1<TValue | null>;
|
|
63
|
+
static DeleteFromJsonAsync(client: HttpClient, requestUri: Uri | null, type: Type, options: JsonSerializerOptions | null, cancellationToken?: CancellationToken): Task_1<unknown | null>;
|
|
64
|
+
static DeleteFromJsonAsync(client: HttpClient, requestUri: Uri | null, type: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown | null>;
|
|
65
|
+
static DeleteFromJsonAsync(client: HttpClient, requestUri: Uri | null, type: Type, cancellationToken?: CancellationToken): Task_1<unknown | null>;
|
|
66
|
+
static GetFromJsonAsAsyncEnumerable<TValue extends unknown>(client: HttpClient, requestUri: string | null, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | null>;
|
|
67
|
+
static GetFromJsonAsAsyncEnumerable<TValue extends unknown>(client: HttpClient, requestUri: string | null, options: JsonSerializerOptions | null, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | null>;
|
|
68
|
+
static GetFromJsonAsAsyncEnumerable<TValue extends unknown>(client: HttpClient, requestUri: string | null, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | null>;
|
|
69
|
+
static GetFromJsonAsAsyncEnumerable<TValue extends unknown>(client: HttpClient, requestUri: Uri | null, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | null>;
|
|
70
|
+
static GetFromJsonAsAsyncEnumerable<TValue extends unknown>(client: HttpClient, requestUri: Uri | null, options: JsonSerializerOptions | null, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | null>;
|
|
71
|
+
static GetFromJsonAsAsyncEnumerable<TValue extends unknown>(client: HttpClient, requestUri: Uri | null, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | null>;
|
|
72
|
+
static GetFromJsonAsync<TValue extends unknown>(client: HttpClient, requestUri: string | null, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<TValue | null>;
|
|
73
|
+
static GetFromJsonAsync<TValue extends unknown>(client: HttpClient, requestUri: string | null, options: JsonSerializerOptions | null, cancellationToken?: CancellationToken): Task_1<TValue | null>;
|
|
74
|
+
static GetFromJsonAsync<TValue extends unknown>(client: HttpClient, requestUri: string | null, cancellationToken?: CancellationToken): Task_1<TValue | null>;
|
|
75
|
+
static GetFromJsonAsync(client: HttpClient, requestUri: string | null, type: Type, options: JsonSerializerOptions | null, cancellationToken?: CancellationToken): Task_1<unknown | null>;
|
|
76
|
+
static GetFromJsonAsync(client: HttpClient, requestUri: string | null, type: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown | null>;
|
|
77
|
+
static GetFromJsonAsync(client: HttpClient, requestUri: string | null, type: Type, cancellationToken?: CancellationToken): Task_1<unknown | null>;
|
|
78
|
+
static GetFromJsonAsync<TValue extends unknown>(client: HttpClient, requestUri: Uri | null, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<TValue | null>;
|
|
79
|
+
static GetFromJsonAsync<TValue extends unknown>(client: HttpClient, requestUri: Uri | null, options: JsonSerializerOptions | null, cancellationToken?: CancellationToken): Task_1<TValue | null>;
|
|
80
|
+
static GetFromJsonAsync<TValue extends unknown>(client: HttpClient, requestUri: Uri | null, cancellationToken?: CancellationToken): Task_1<TValue | null>;
|
|
81
|
+
static GetFromJsonAsync(client: HttpClient, requestUri: Uri | null, type: Type, options: JsonSerializerOptions | null, cancellationToken?: CancellationToken): Task_1<unknown | null>;
|
|
82
|
+
static GetFromJsonAsync(client: HttpClient, requestUri: Uri | null, type: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown | null>;
|
|
83
|
+
static GetFromJsonAsync(client: HttpClient, requestUri: Uri | null, type: Type, cancellationToken?: CancellationToken): Task_1<unknown | null>;
|
|
84
|
+
static PatchAsJsonAsync<TValue extends unknown>(client: HttpClient, requestUri: string | null, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
85
|
+
static PatchAsJsonAsync<TValue extends unknown>(client: HttpClient, requestUri: string | null, value: TValue, options?: JsonSerializerOptions | null, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
86
|
+
static PatchAsJsonAsync<TValue extends unknown>(client: HttpClient, requestUri: string | null, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
87
|
+
static PatchAsJsonAsync<TValue extends unknown>(client: HttpClient, requestUri: Uri | null, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
88
|
+
static PatchAsJsonAsync<TValue extends unknown>(client: HttpClient, requestUri: Uri | null, value: TValue, options?: JsonSerializerOptions | null, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
89
|
+
static PatchAsJsonAsync<TValue extends unknown>(client: HttpClient, requestUri: Uri | null, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
90
|
+
static PostAsJsonAsync<TValue extends unknown>(client: HttpClient, requestUri: string | null, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
91
|
+
static PostAsJsonAsync<TValue extends unknown>(client: HttpClient, requestUri: string | null, value: TValue, options?: JsonSerializerOptions | null, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
92
|
+
static PostAsJsonAsync<TValue extends unknown>(client: HttpClient, requestUri: string | null, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
93
|
+
static PostAsJsonAsync<TValue extends unknown>(client: HttpClient, requestUri: Uri | null, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
94
|
+
static PostAsJsonAsync<TValue extends unknown>(client: HttpClient, requestUri: Uri | null, value: TValue, options?: JsonSerializerOptions | null, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
95
|
+
static PostAsJsonAsync<TValue extends unknown>(client: HttpClient, requestUri: Uri | null, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
96
|
+
static PutAsJsonAsync<TValue extends unknown>(client: HttpClient, requestUri: string | null, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
97
|
+
static PutAsJsonAsync<TValue extends unknown>(client: HttpClient, requestUri: string | null, value: TValue, options?: JsonSerializerOptions | null, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
98
|
+
static PutAsJsonAsync<TValue extends unknown>(client: HttpClient, requestUri: string | null, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
99
|
+
static PutAsJsonAsync<TValue extends unknown>(client: HttpClient, requestUri: Uri | null, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
100
|
+
static PutAsJsonAsync<TValue extends unknown>(client: HttpClient, requestUri: Uri | null, value: TValue, options?: JsonSerializerOptions | null, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
101
|
+
static PutAsJsonAsync<TValue extends unknown>(client: HttpClient, requestUri: Uri | null, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
104
102
|
}
|
|
105
103
|
|
|
106
104
|
|
|
107
105
|
export type HttpClientJsonExtensions = HttpClientJsonExtensions$instance;
|
|
108
106
|
|
|
109
107
|
export abstract class HttpContentJsonExtensions$instance {
|
|
110
|
-
static ReadFromJsonAsAsyncEnumerable<TValue>(content: HttpContent, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue |
|
|
111
|
-
static ReadFromJsonAsAsyncEnumerable<TValue>(content: HttpContent, options: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue |
|
|
112
|
-
static ReadFromJsonAsAsyncEnumerable<TValue>(content: HttpContent, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue |
|
|
113
|
-
static ReadFromJsonAsync<T>(content: HttpContent, jsonTypeInfo: JsonTypeInfo_1<T>, cancellationToken?: CancellationToken): Task_1<T |
|
|
114
|
-
static ReadFromJsonAsync<T>(content: HttpContent, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<T |
|
|
115
|
-
static ReadFromJsonAsync<T>(content: HttpContent, cancellationToken?: CancellationToken): Task_1<T |
|
|
116
|
-
static ReadFromJsonAsync(content: HttpContent, type: Type, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<unknown |
|
|
117
|
-
static ReadFromJsonAsync(content: HttpContent, type: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown |
|
|
118
|
-
static ReadFromJsonAsync(content: HttpContent, type: Type, cancellationToken?: CancellationToken): Task_1<unknown |
|
|
108
|
+
static ReadFromJsonAsAsyncEnumerable<TValue extends unknown>(content: HttpContent, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | null>;
|
|
109
|
+
static ReadFromJsonAsAsyncEnumerable<TValue extends unknown>(content: HttpContent, options: JsonSerializerOptions | null, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | null>;
|
|
110
|
+
static ReadFromJsonAsAsyncEnumerable<TValue extends unknown>(content: HttpContent, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | null>;
|
|
111
|
+
static ReadFromJsonAsync<T extends unknown>(content: HttpContent, jsonTypeInfo: JsonTypeInfo_1<T>, cancellationToken?: CancellationToken): Task_1<T | null>;
|
|
112
|
+
static ReadFromJsonAsync<T extends unknown>(content: HttpContent, options: JsonSerializerOptions | null, cancellationToken?: CancellationToken): Task_1<T | null>;
|
|
113
|
+
static ReadFromJsonAsync<T extends unknown>(content: HttpContent, cancellationToken?: CancellationToken): Task_1<T | null>;
|
|
114
|
+
static ReadFromJsonAsync(content: HttpContent, type: Type, options: JsonSerializerOptions | null, cancellationToken?: CancellationToken): Task_1<unknown | null>;
|
|
115
|
+
static ReadFromJsonAsync(content: HttpContent, type: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown | null>;
|
|
116
|
+
static ReadFromJsonAsync(content: HttpContent, type: Type, cancellationToken?: CancellationToken): Task_1<unknown | null>;
|
|
119
117
|
}
|
|
120
118
|
|
|
121
119
|
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './System.Net.Http.Json/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { IAsyncEnumerable_1 } from './System.Collections.Generic/internal/index.js';
|
|
10
14
|
import type { Stream } from './System.IO/internal/index.js';
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: System.Net.Http.Metrics
|
|
3
3
|
// Assembly: System.Net.Http
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import type { HttpRequestMessage, HttpResponseMessage } from "../../System.Net.Http/internal/index.js";
|
|
@@ -13,10 +14,10 @@ import type { Action_1, Boolean as ClrBoolean, Exception, Int32, Object as ClrOb
|
|
|
13
14
|
export interface HttpMetricsEnrichmentContext$instance {
|
|
14
15
|
readonly __tsonic_type_System_Net_Http_Metrics_HttpMetricsEnrichmentContext: never;
|
|
15
16
|
|
|
16
|
-
readonly Exception: Exception |
|
|
17
|
+
readonly Exception: Exception | null;
|
|
17
18
|
readonly Request: HttpRequestMessage;
|
|
18
|
-
readonly Response: HttpResponseMessage |
|
|
19
|
-
AddCustomTag(name: string, value: unknown): void;
|
|
19
|
+
readonly Response: HttpResponseMessage | null;
|
|
20
|
+
AddCustomTag(name: string, value: unknown | null): void;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './System.Net.Http.Metrics/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { HttpRequestMessage, HttpResponseMessage } from './System.Net.Http/internal/index.js';
|
|
10
14
|
import type { Action_1, Boolean as ClrBoolean, Exception, Int32, Object as ClrObject, String as ClrString, Type, Void } from './System/internal/index.js';
|
package/System.Net.Http.d.ts
CHANGED
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './System.Net.Http/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { ICollection_1, IDictionary_2, IEnumerable_1, IEnumerator_1, IReadOnlyCollection_1, IReadOnlyDictionary_2, KeyValuePair_2 } from './System.Collections.Generic/internal/index.js';
|
|
10
14
|
import type { IDictionary, IEnumerable, IEnumerator } from './System.Collections/internal/index.js';
|
|
@@ -28,7 +32,7 @@ export { ByteArrayContent as ByteArrayContent } from './System.Net.Http/internal
|
|
|
28
32
|
export { ClientCertificateOption as ClientCertificateOption } from './System.Net.Http/internal/index.js';
|
|
29
33
|
export { DelegatingHandler as DelegatingHandler } from './System.Net.Http/internal/index.js';
|
|
30
34
|
export { FormUrlEncodedContent as FormUrlEncodedContent } from './System.Net.Http/internal/index.js';
|
|
31
|
-
export type HeaderEncodingSelector<TContext> = Internal.HeaderEncodingSelector_1<TContext>;
|
|
35
|
+
export type HeaderEncodingSelector<TContext extends unknown> = Internal.HeaderEncodingSelector_1<TContext>;
|
|
32
36
|
export { HttpClient as HttpClient } from './System.Net.Http/internal/index.js';
|
|
33
37
|
export { HttpClientHandler as HttpClientHandler } from './System.Net.Http/internal/index.js';
|
|
34
38
|
export { HttpCompletionOption as HttpCompletionOption } from './System.Net.Http/internal/index.js';
|