@tsonic/dotnet 10.0.41 → 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 +1 -1
- package/Internal.d.ts +4 -0
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +1 -1
- package/Microsoft.CSharp.RuntimeBinder.d.ts +4 -0
- package/Microsoft.VisualBasic/bindings.json +13 -13
- package/Microsoft.VisualBasic/internal/index.d.ts +51 -51
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +116 -116
- package/Microsoft.VisualBasic.CompilerServices.d.ts +4 -0
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +2 -2
- package/Microsoft.VisualBasic.FileIO.d.ts +4 -0
- package/Microsoft.VisualBasic.d.ts +4 -0
- package/Microsoft.Win32/internal/index.d.ts +9 -9
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +1 -1
- package/Microsoft.Win32.SafeHandles.d.ts +4 -0
- package/Microsoft.Win32.d.ts +4 -0
- package/README.md +8 -1
- package/System/bindings.json +204 -124
- package/System/internal/index.d.ts +1041 -1026
- package/System.Buffers/internal/index.d.ts +51 -51
- package/System.Buffers.Binary/internal/index.d.ts +1 -1
- package/System.Buffers.Binary.d.ts +4 -0
- package/System.Buffers.Text/internal/index.d.ts +1 -1
- package/System.Buffers.Text.d.ts +4 -0
- package/System.Buffers.d.ts +10 -6
- package/System.CodeDom.Compiler/internal/index.d.ts +14 -14
- package/System.CodeDom.Compiler.d.ts +4 -0
- package/System.Collections/bindings.json +300 -300
- package/System.Collections/internal/index.d.ts +113 -113
- package/System.Collections.Concurrent/bindings.json +93 -93
- package/System.Collections.Concurrent/internal/index.d.ts +65 -65
- package/System.Collections.Concurrent.d.ts +7 -3
- package/System.Collections.Frozen/bindings.json +90 -50
- package/System.Collections.Frozen/internal/index.d.ts +35 -33
- package/System.Collections.Frozen.d.ts +6 -2
- package/System.Collections.Generic/bindings.json +932 -612
- package/System.Collections.Generic/internal/index.d.ts +303 -287
- package/System.Collections.Generic.d.ts +19 -15
- package/System.Collections.Immutable/bindings.json +189 -189
- package/System.Collections.Immutable/internal/index.d.ts +235 -234
- package/System.Collections.Immutable.d.ts +21 -17
- package/System.Collections.ObjectModel/bindings.json +229 -229
- package/System.Collections.ObjectModel/internal/index.d.ts +41 -41
- package/System.Collections.ObjectModel.d.ts +6 -2
- package/System.Collections.Specialized/bindings.json +79 -79
- package/System.Collections.Specialized/internal/index.d.ts +46 -46
- package/System.Collections.Specialized.d.ts +4 -0
- package/System.Collections.d.ts +4 -0
- package/System.ComponentModel/bindings.json +108 -108
- package/System.ComponentModel/internal/index.d.ts +368 -363
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +78 -78
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +1 -1
- package/System.ComponentModel.DataAnnotations.Schema.d.ts +4 -0
- package/System.ComponentModel.DataAnnotations.d.ts +4 -0
- package/System.ComponentModel.Design/bindings.json +18 -18
- package/System.ComponentModel.Design/internal/index.d.ts +47 -47
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +38 -38
- package/System.ComponentModel.Design.Serialization.d.ts +4 -0
- package/System.ComponentModel.Design.d.ts +4 -0
- package/System.ComponentModel.d.ts +4 -0
- package/System.Configuration.Assemblies/internal/index.d.ts +1 -1
- package/System.Configuration.Assemblies.d.ts +4 -0
- package/System.Data/bindings.json +124 -124
- package/System.Data/internal/index.d.ts +156 -156
- package/System.Data.Common/bindings.json +68 -68
- package/System.Data.Common/internal/index.d.ts +42 -42
- package/System.Data.Common.d.ts +4 -0
- package/System.Data.SqlTypes/internal/index.d.ts +40 -40
- package/System.Data.SqlTypes.d.ts +4 -0
- package/System.Data.d.ts +8 -4
- package/System.Diagnostics/bindings.json +251 -231
- package/System.Diagnostics/internal/index.d.ts +167 -154
- package/System.Diagnostics.CodeAnalysis/bindings.json +121 -121
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +7 -7
- package/System.Diagnostics.CodeAnalysis.d.ts +4 -0
- package/System.Diagnostics.Contracts/bindings.json +62 -62
- package/System.Diagnostics.Contracts/internal/index.d.ts +9 -9
- package/System.Diagnostics.Contracts.d.ts +4 -0
- package/System.Diagnostics.Metrics/internal/index.d.ts +86 -86
- package/System.Diagnostics.Metrics.d.ts +7 -3
- package/System.Diagnostics.SymbolStore/bindings.json +2 -2
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +3 -3
- package/System.Diagnostics.SymbolStore.d.ts +4 -0
- package/System.Diagnostics.Tracing/bindings.json +212 -212
- package/System.Diagnostics.Tracing/internal/index.d.ts +7 -7
- package/System.Diagnostics.Tracing.d.ts +4 -0
- package/System.Diagnostics.d.ts +5 -1
- package/System.Drawing/internal/index.d.ts +48 -48
- package/System.Drawing.d.ts +4 -0
- package/System.Dynamic/bindings.json +13 -13
- package/System.Dynamic/internal/index.d.ts +36 -35
- package/System.Dynamic.d.ts +4 -0
- package/System.Formats.Asn1/internal/index.d.ts +11 -11
- package/System.Formats.Asn1.d.ts +4 -0
- package/System.Formats.Tar/internal/index.d.ts +1 -1
- package/System.Formats.Tar.d.ts +4 -0
- package/System.Globalization/bindings.json +3 -3
- package/System.Globalization/internal/index.d.ts +19 -19
- package/System.Globalization.d.ts +4 -0
- package/System.IO/bindings.json +957 -957
- package/System.IO/internal/index.d.ts +55 -55
- package/System.IO.Compression/internal/index.d.ts +13 -13
- package/System.IO.Compression.d.ts +4 -0
- package/System.IO.Enumeration/bindings.json +47 -47
- package/System.IO.Enumeration/internal/index.d.ts +11 -11
- package/System.IO.Enumeration.d.ts +4 -0
- package/System.IO.IsolatedStorage/internal/index.d.ts +10 -10
- package/System.IO.IsolatedStorage.d.ts +4 -0
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +1 -1
- package/System.IO.MemoryMappedFiles.d.ts +4 -0
- package/System.IO.Pipelines/internal/index.d.ts +4 -4
- package/System.IO.Pipelines.d.ts +4 -0
- package/System.IO.Pipes/internal/index.d.ts +4 -4
- 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 +703 -701
- package/System.Linq.Expressions/internal/index.d.ts +67 -41
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +3 -3
- 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 +27 -27
- package/System.Net/internal/index.d.ts +53 -53
- package/System.Net.Cache/internal/index.d.ts +1 -1
- package/System.Net.Cache.d.ts +4 -0
- package/System.Net.Http/bindings.json +22 -22
- package/System.Net.Http/internal/index.d.ts +16 -16
- package/System.Net.Http.Headers/bindings.json +66 -26
- package/System.Net.Http.Headers/internal/index.d.ts +26 -24
- package/System.Net.Http.Headers.d.ts +4 -0
- package/System.Net.Http.Json/internal/index.d.ts +63 -63
- package/System.Net.Http.Json.d.ts +4 -0
- package/System.Net.Http.Metrics/internal/index.d.ts +2 -2
- 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 +8 -8
- package/System.Net.Mail.d.ts +4 -0
- package/System.Net.Mime/internal/index.d.ts +3 -3
- package/System.Net.Mime.d.ts +4 -0
- package/System.Net.NetworkInformation/bindings.json +40 -40
- package/System.Net.NetworkInformation/internal/index.d.ts +15 -15
- package/System.Net.NetworkInformation.d.ts +4 -0
- package/System.Net.Quic/internal/index.d.ts +4 -4
- package/System.Net.Quic.d.ts +4 -0
- package/System.Net.Security/internal/index.d.ts +29 -29
- package/System.Net.Security.d.ts +4 -0
- package/System.Net.ServerSentEvents/internal/index.d.ts +9 -9
- package/System.Net.ServerSentEvents.d.ts +7 -3
- package/System.Net.Sockets/internal/index.d.ts +42 -42
- package/System.Net.Sockets.d.ts +4 -0
- package/System.Net.WebSockets/bindings.json +101 -101
- package/System.Net.WebSockets/internal/index.d.ts +5 -5
- package/System.Net.WebSockets.d.ts +4 -0
- package/System.Net.d.ts +4 -0
- package/System.Numerics/bindings.json +3 -3
- package/System.Numerics/internal/index.d.ts +218 -218
- package/System.Numerics.d.ts +38 -34
- package/System.Reflection/bindings.json +870 -870
- package/System.Reflection/internal/index.d.ts +107 -107
- package/System.Reflection.Emit/bindings.json +754 -754
- package/System.Reflection.Emit/internal/index.d.ts +27 -25
- package/System.Reflection.Emit.d.ts +4 -0
- package/System.Reflection.Metadata/bindings.json +607 -87
- package/System.Reflection.Metadata/internal/index.d.ts +144 -118
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +9 -9
- package/System.Reflection.Metadata.Ecma335.d.ts +4 -0
- package/System.Reflection.Metadata.d.ts +9 -5
- package/System.Reflection.PortableExecutable/internal/index.d.ts +2 -2
- package/System.Reflection.PortableExecutable.d.ts +4 -0
- package/System.Reflection.d.ts +4 -0
- package/System.Resources/bindings.json +3 -3
- package/System.Resources/internal/index.d.ts +7 -7
- package/System.Resources.d.ts +4 -0
- package/System.Runtime/bindings.json +9 -9
- package/System.Runtime/internal/index.d.ts +7 -7
- package/System.Runtime.CompilerServices/bindings.json +383 -383
- package/System.Runtime.CompilerServices/internal/index.d.ts +226 -226
- package/System.Runtime.CompilerServices.d.ts +20 -16
- package/System.Runtime.ConstrainedExecution/bindings.json +9 -9
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +1 -1
- package/System.Runtime.ConstrainedExecution.d.ts +4 -0
- package/System.Runtime.ExceptionServices/bindings.json +9 -9
- package/System.Runtime.ExceptionServices/internal/index.d.ts +2 -2
- package/System.Runtime.ExceptionServices.d.ts +4 -0
- package/System.Runtime.InteropServices/bindings.json +559 -559
- package/System.Runtime.InteropServices/internal/index.d.ts +182 -182
- package/System.Runtime.InteropServices.ComTypes/bindings.json +349 -349
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +19 -19
- 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 +2 -2
- package/System.Runtime.InteropServices.Java.d.ts +4 -0
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +38 -38
- package/System.Runtime.InteropServices.JavaScript.d.ts +6 -2
- package/System.Runtime.InteropServices.Marshalling/bindings.json +117 -117
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +81 -81
- package/System.Runtime.InteropServices.Marshalling.d.ts +4 -0
- package/System.Runtime.InteropServices.ObjectiveC/bindings.json +15 -15
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +2 -2
- 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 +4 -4
- package/System.Runtime.InteropServices.Swift.d.ts +6 -2
- package/System.Runtime.InteropServices.d.ts +6 -2
- package/System.Runtime.Intrinsics/internal/index.d.ts +514 -514
- package/System.Runtime.Intrinsics.Arm/bindings.json +31 -31
- package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +1 -1
- package/System.Runtime.Intrinsics.Arm.d.ts +4 -0
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +1 -1
- 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 +1 -1
- package/System.Runtime.Intrinsics.X86.d.ts +4 -0
- package/System.Runtime.Intrinsics.d.ts +12 -8
- package/System.Runtime.Loader/internal/index.d.ts +1 -1
- package/System.Runtime.Loader.d.ts +4 -0
- package/System.Runtime.Remoting/internal/index.d.ts +3 -3
- package/System.Runtime.Remoting.d.ts +4 -0
- package/System.Runtime.Serialization/bindings.json +13 -13
- package/System.Runtime.Serialization/internal/index.d.ts +102 -102
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +4 -4
- package/System.Runtime.Serialization.DataContracts.d.ts +4 -0
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +1 -1
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +3 -3
- 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 +13 -13
- 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 +2 -2
- 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 +10 -10
- package/System.Security.AccessControl/bindings.json +33 -33
- package/System.Security.AccessControl/internal/index.d.ts +21 -21
- package/System.Security.AccessControl.d.ts +10 -6
- package/System.Security.Authentication/internal/index.d.ts +1 -1
- package/System.Security.Authentication.ExtendedProtection/bindings.json +5 -5
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +3 -3
- 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 +3 -3
- package/System.Security.Claims.d.ts +4 -0
- package/System.Security.Cryptography/bindings.json +40 -40
- package/System.Security.Cryptography/internal/index.d.ts +28 -27
- package/System.Security.Cryptography.X509Certificates/bindings.json +312 -312
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +10 -10
- 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 +1 -1
- 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 -9
- package/System.Security.Policy.d.ts +4 -0
- package/System.Security.Principal/bindings.json +8 -8
- package/System.Security.Principal/internal/index.d.ts +8 -8
- package/System.Security.Principal.d.ts +4 -0
- package/System.Security.d.ts +4 -0
- package/System.Text/bindings.json +20 -20
- package/System.Text/internal/index.d.ts +48 -48
- package/System.Text.Encodings.Web/internal/index.d.ts +1 -1
- package/System.Text.Encodings.Web.d.ts +4 -0
- package/System.Text.Json/internal/index.d.ts +109 -109
- package/System.Text.Json.Nodes/bindings.json +27 -27
- package/System.Text.Json.Nodes/internal/index.d.ts +8 -8
- package/System.Text.Json.Nodes.d.ts +4 -0
- package/System.Text.Json.Schema/internal/index.d.ts +1 -1
- package/System.Text.Json.Schema.d.ts +4 -0
- package/System.Text.Json.Serialization/internal/index.d.ts +18 -18
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +67 -67
- 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 +158 -118
- package/System.Text.RegularExpressions/internal/index.d.ts +9 -7
- package/System.Text.RegularExpressions.d.ts +4 -0
- package/System.Text.Unicode/internal/index.d.ts +6 -6
- package/System.Text.Unicode.d.ts +4 -0
- package/System.Text.d.ts +4 -0
- package/System.Threading/bindings.json +19 -19
- package/System.Threading/internal/index.d.ts +97 -97
- package/System.Threading.Channels/internal/index.d.ts +23 -23
- package/System.Threading.Channels.d.ts +8 -4
- package/System.Threading.Tasks/bindings.json +138 -38
- package/System.Threading.Tasks/internal/index.d.ts +229 -227
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +95 -95
- 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 +9 -9
- 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 +2 -2
- package/System.Timers.d.ts +4 -0
- package/System.Transactions/internal/index.d.ts +6 -6
- package/System.Transactions.d.ts +4 -0
- package/System.Web/internal/index.d.ts +2 -2
- package/System.Web.d.ts +4 -0
- package/System.Windows.Input/internal/index.d.ts +3 -3
- package/System.Windows.Input.d.ts +4 -0
- package/System.Windows.Markup/internal/index.d.ts +1 -1
- package/System.Windows.Markup.d.ts +4 -0
- package/System.Xml/bindings.json +27 -27
- package/System.Xml/internal/index.d.ts +29 -29
- package/System.Xml.Linq/bindings.json +6 -6
- package/System.Xml.Linq/internal/index.d.ts +49 -49
- package/System.Xml.Linq.d.ts +4 -0
- package/System.Xml.Resolvers/internal/index.d.ts +3 -3
- package/System.Xml.Resolvers.d.ts +4 -0
- package/System.Xml.Schema/bindings.json +24 -24
- package/System.Xml.Schema/internal/index.d.ts +24 -24
- package/System.Xml.Schema.d.ts +4 -0
- package/System.Xml.Serialization/bindings.json +57 -57
- package/System.Xml.Serialization/internal/index.d.ts +49 -49
- package/System.Xml.Serialization.d.ts +4 -0
- package/System.Xml.XPath/bindings.json +1 -1
- package/System.Xml.XPath/internal/index.d.ts +18 -18
- package/System.Xml.XPath.d.ts +4 -0
- package/System.Xml.Xsl/bindings.json +1 -1
- package/System.Xml.Xsl/internal/index.d.ts +12 -12
- package/System.Xml.Xsl.Runtime/bindings.json +70 -70
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +21 -21
- 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 +1288 -1293
- package/package.json +2 -2
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// Assembly: System.Net.Primitives, System.Net.Security
|
|
4
4
|
|
|
5
5
|
// Core type aliases from @tsonic/core
|
|
6
|
-
import type {
|
|
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
9
|
// Import types from other namespaces
|
|
@@ -415,16 +415,16 @@ export enum TlsCipherSuite {
|
|
|
415
415
|
}
|
|
416
416
|
|
|
417
417
|
|
|
418
|
-
export type LocalCertificateSelectionCallback = (sender:
|
|
418
|
+
export type LocalCertificateSelectionCallback = (sender: unknown, targetHost: string, localCertificates: X509CertificateCollection, remoteCertificate: X509Certificate | null, acceptableIssuers: string[]) => X509Certificate | null;
|
|
419
419
|
|
|
420
420
|
|
|
421
|
-
export type RemoteCertificateValidationCallback = (sender:
|
|
421
|
+
export type RemoteCertificateValidationCallback = (sender: unknown, certificate: X509Certificate | null, chain: X509Chain | null, sslPolicyErrors: SslPolicyErrors) => boolean;
|
|
422
422
|
|
|
423
423
|
|
|
424
|
-
export type ServerCertificateSelectionCallback = (sender:
|
|
424
|
+
export type ServerCertificateSelectionCallback = (sender: unknown, hostName: string | null) => X509Certificate;
|
|
425
425
|
|
|
426
426
|
|
|
427
|
-
export type ServerOptionsSelectionCallback = (stream: SslStream, clientHelloInfo: SslClientHelloInfo, state:
|
|
427
|
+
export type ServerOptionsSelectionCallback = (stream: SslStream, clientHelloInfo: SslClientHelloInfo, state: unknown | null, cancellationToken: CancellationToken) => ValueTask_1<SslServerAuthenticationOptions>;
|
|
428
428
|
|
|
429
429
|
|
|
430
430
|
export interface SslApplicationProtocol$instance {
|
|
@@ -434,7 +434,7 @@ export interface SslApplicationProtocol$instance {
|
|
|
434
434
|
|
|
435
435
|
readonly Protocol: ReadOnlyMemory_1<System_Internal.Byte>;
|
|
436
436
|
Equals(other: SslApplicationProtocol): boolean;
|
|
437
|
-
Equals(obj:
|
|
437
|
+
Equals(obj: unknown | null): boolean;
|
|
438
438
|
GetHashCode(): int;
|
|
439
439
|
ToString(): string;
|
|
440
440
|
}
|
|
@@ -474,7 +474,7 @@ export const SslClientHelloInfo: {
|
|
|
474
474
|
|
|
475
475
|
export type SslClientHelloInfo = SslClientHelloInfo$instance;
|
|
476
476
|
|
|
477
|
-
export interface AuthenticatedStream$instance extends Stream {
|
|
477
|
+
export interface AuthenticatedStream$instance extends Stream, System_Internal.IAsyncDisposable$instance {
|
|
478
478
|
readonly __tsonic_type_System_Net_Security_AuthenticatedStream: never;
|
|
479
479
|
|
|
480
480
|
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
@@ -600,7 +600,7 @@ export const NegotiateAuthenticationServerOptions: {
|
|
|
600
600
|
|
|
601
601
|
export type NegotiateAuthenticationServerOptions = NegotiateAuthenticationServerOptions$instance;
|
|
602
602
|
|
|
603
|
-
export interface NegotiateStream$instance extends AuthenticatedStream$instance {
|
|
603
|
+
export interface NegotiateStream$instance extends AuthenticatedStream$instance, System_Internal.IAsyncDisposable$instance {
|
|
604
604
|
readonly __tsonic_type_System_Net_Security_NegotiateStream: never;
|
|
605
605
|
|
|
606
606
|
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
@@ -639,17 +639,17 @@ export interface NegotiateStream$instance extends AuthenticatedStream$instance {
|
|
|
639
639
|
AuthenticateAsServerAsync(policy: ExtendedProtectionPolicy | null): Task;
|
|
640
640
|
AuthenticateAsServerAsync(credential: NetworkCredential, requiredProtectionLevel: ProtectionLevel, requiredImpersonationLevel: TokenImpersonationLevel): Task;
|
|
641
641
|
AuthenticateAsServerAsync(credential: NetworkCredential, policy: ExtendedProtectionPolicy | null, requiredProtectionLevel: ProtectionLevel, requiredImpersonationLevel: TokenImpersonationLevel): Task;
|
|
642
|
-
BeginAuthenticateAsClient(asyncCallback: AsyncCallback | null, asyncState:
|
|
643
|
-
BeginAuthenticateAsClient(credential: NetworkCredential, targetName: string, asyncCallback: AsyncCallback | null, asyncState:
|
|
644
|
-
BeginAuthenticateAsClient(credential: NetworkCredential, binding: ChannelBinding | null, targetName: string, asyncCallback: AsyncCallback | null, asyncState:
|
|
645
|
-
BeginAuthenticateAsClient(credential: NetworkCredential, targetName: string, requiredProtectionLevel: ProtectionLevel, allowedImpersonationLevel: TokenImpersonationLevel, asyncCallback: AsyncCallback | null, asyncState:
|
|
646
|
-
BeginAuthenticateAsClient(credential: NetworkCredential, binding: ChannelBinding | null, targetName: string, requiredProtectionLevel: ProtectionLevel, allowedImpersonationLevel: TokenImpersonationLevel, asyncCallback: AsyncCallback | null, asyncState:
|
|
647
|
-
BeginAuthenticateAsServer(asyncCallback: AsyncCallback | null, asyncState:
|
|
648
|
-
BeginAuthenticateAsServer(policy: ExtendedProtectionPolicy | null, asyncCallback: AsyncCallback | null, asyncState:
|
|
649
|
-
BeginAuthenticateAsServer(credential: NetworkCredential, requiredProtectionLevel: ProtectionLevel, requiredImpersonationLevel: TokenImpersonationLevel, asyncCallback: AsyncCallback | null, asyncState:
|
|
650
|
-
BeginAuthenticateAsServer(credential: NetworkCredential, policy: ExtendedProtectionPolicy | null, requiredProtectionLevel: ProtectionLevel, requiredImpersonationLevel: TokenImpersonationLevel, asyncCallback: AsyncCallback | null, asyncState:
|
|
651
|
-
BeginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | null, asyncState:
|
|
652
|
-
BeginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | null, asyncState:
|
|
642
|
+
BeginAuthenticateAsClient(asyncCallback: AsyncCallback | null, asyncState: unknown | null): IAsyncResult;
|
|
643
|
+
BeginAuthenticateAsClient(credential: NetworkCredential, targetName: string, asyncCallback: AsyncCallback | null, asyncState: unknown | null): IAsyncResult;
|
|
644
|
+
BeginAuthenticateAsClient(credential: NetworkCredential, binding: ChannelBinding | null, targetName: string, asyncCallback: AsyncCallback | null, asyncState: unknown | null): IAsyncResult;
|
|
645
|
+
BeginAuthenticateAsClient(credential: NetworkCredential, targetName: string, requiredProtectionLevel: ProtectionLevel, allowedImpersonationLevel: TokenImpersonationLevel, asyncCallback: AsyncCallback | null, asyncState: unknown | null): IAsyncResult;
|
|
646
|
+
BeginAuthenticateAsClient(credential: NetworkCredential, binding: ChannelBinding | null, targetName: string, requiredProtectionLevel: ProtectionLevel, allowedImpersonationLevel: TokenImpersonationLevel, asyncCallback: AsyncCallback | null, asyncState: unknown | null): IAsyncResult;
|
|
647
|
+
BeginAuthenticateAsServer(asyncCallback: AsyncCallback | null, asyncState: unknown | null): IAsyncResult;
|
|
648
|
+
BeginAuthenticateAsServer(policy: ExtendedProtectionPolicy | null, asyncCallback: AsyncCallback | null, asyncState: unknown | null): IAsyncResult;
|
|
649
|
+
BeginAuthenticateAsServer(credential: NetworkCredential, requiredProtectionLevel: ProtectionLevel, requiredImpersonationLevel: TokenImpersonationLevel, asyncCallback: AsyncCallback | null, asyncState: unknown | null): IAsyncResult;
|
|
650
|
+
BeginAuthenticateAsServer(credential: NetworkCredential, policy: ExtendedProtectionPolicy | null, requiredProtectionLevel: ProtectionLevel, requiredImpersonationLevel: TokenImpersonationLevel, asyncCallback: AsyncCallback | null, asyncState: unknown | null): IAsyncResult;
|
|
651
|
+
BeginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | null, asyncState: unknown | null): IAsyncResult;
|
|
652
|
+
BeginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | null, asyncState: unknown | null): IAsyncResult;
|
|
653
653
|
Dispose(disposing: boolean): void;
|
|
654
654
|
Dispose(): void;
|
|
655
655
|
DisposeAsync(): ValueTask;
|
|
@@ -774,7 +774,7 @@ export const SslServerAuthenticationOptions: {
|
|
|
774
774
|
|
|
775
775
|
export type SslServerAuthenticationOptions = SslServerAuthenticationOptions$instance;
|
|
776
776
|
|
|
777
|
-
export interface SslStream$instance extends AuthenticatedStream$instance {
|
|
777
|
+
export interface SslStream$instance extends AuthenticatedStream$instance, System_Internal.IAsyncDisposable$instance {
|
|
778
778
|
readonly __tsonic_type_System_Net_Security_SslStream: never;
|
|
779
779
|
|
|
780
780
|
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
@@ -823,15 +823,15 @@ export interface SslStream$instance extends AuthenticatedStream$instance {
|
|
|
823
823
|
AuthenticateAsServerAsync(serverCertificate: X509Certificate, clientCertificateRequired: boolean, checkCertificateRevocation: boolean): Task;
|
|
824
824
|
AuthenticateAsServerAsync(serverCertificate: X509Certificate, clientCertificateRequired: boolean, enabledSslProtocols: SslProtocols, checkCertificateRevocation: boolean): Task;
|
|
825
825
|
AuthenticateAsServerAsync(sslServerAuthenticationOptions: SslServerAuthenticationOptions, cancellationToken?: CancellationToken): Task;
|
|
826
|
-
AuthenticateAsServerAsync(optionsCallback: ServerOptionsSelectionCallback, state:
|
|
827
|
-
BeginAuthenticateAsClient(targetHost: string, asyncCallback: AsyncCallback | null, asyncState:
|
|
828
|
-
BeginAuthenticateAsClient(targetHost: string, clientCertificates: X509CertificateCollection | null, checkCertificateRevocation: boolean, asyncCallback: AsyncCallback | null, asyncState:
|
|
829
|
-
BeginAuthenticateAsClient(targetHost: string, clientCertificates: X509CertificateCollection | null, enabledSslProtocols: SslProtocols, checkCertificateRevocation: boolean, asyncCallback: AsyncCallback | null, asyncState:
|
|
830
|
-
BeginAuthenticateAsServer(serverCertificate: X509Certificate, asyncCallback: AsyncCallback | null, asyncState:
|
|
831
|
-
BeginAuthenticateAsServer(serverCertificate: X509Certificate, clientCertificateRequired: boolean, checkCertificateRevocation: boolean, asyncCallback: AsyncCallback | null, asyncState:
|
|
832
|
-
BeginAuthenticateAsServer(serverCertificate: X509Certificate, clientCertificateRequired: boolean, enabledSslProtocols: SslProtocols, checkCertificateRevocation: boolean, asyncCallback: AsyncCallback | null, asyncState:
|
|
833
|
-
BeginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | null, asyncState:
|
|
834
|
-
BeginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | null, asyncState:
|
|
826
|
+
AuthenticateAsServerAsync(optionsCallback: ServerOptionsSelectionCallback, state: unknown | null, cancellationToken?: CancellationToken): Task;
|
|
827
|
+
BeginAuthenticateAsClient(targetHost: string, asyncCallback: AsyncCallback | null, asyncState: unknown | null): IAsyncResult;
|
|
828
|
+
BeginAuthenticateAsClient(targetHost: string, clientCertificates: X509CertificateCollection | null, checkCertificateRevocation: boolean, asyncCallback: AsyncCallback | null, asyncState: unknown | null): IAsyncResult;
|
|
829
|
+
BeginAuthenticateAsClient(targetHost: string, clientCertificates: X509CertificateCollection | null, enabledSslProtocols: SslProtocols, checkCertificateRevocation: boolean, asyncCallback: AsyncCallback | null, asyncState: unknown | null): IAsyncResult;
|
|
830
|
+
BeginAuthenticateAsServer(serverCertificate: X509Certificate, asyncCallback: AsyncCallback | null, asyncState: unknown | null): IAsyncResult;
|
|
831
|
+
BeginAuthenticateAsServer(serverCertificate: X509Certificate, clientCertificateRequired: boolean, checkCertificateRevocation: boolean, asyncCallback: AsyncCallback | null, asyncState: unknown | null): IAsyncResult;
|
|
832
|
+
BeginAuthenticateAsServer(serverCertificate: X509Certificate, clientCertificateRequired: boolean, enabledSslProtocols: SslProtocols, checkCertificateRevocation: boolean, asyncCallback: AsyncCallback | null, asyncState: unknown | null): IAsyncResult;
|
|
833
|
+
BeginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | null, asyncState: unknown | null): IAsyncResult;
|
|
834
|
+
BeginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | null, asyncState: unknown | null): IAsyncResult;
|
|
835
835
|
Dispose(disposing: boolean): void;
|
|
836
836
|
Dispose(): void;
|
|
837
837
|
DisposeAsync(): ValueTask;
|
package/System.Net.Security.d.ts
CHANGED
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './System.Net.Security/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 { IBufferWriter_1 } from './System.Buffers/internal/index.js';
|
|
10
14
|
import type { IEnumerable_1, List_1 } from './System.Collections.Generic/internal/index.js';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// Assembly: System.Net.ServerSentEvents
|
|
4
4
|
|
|
5
5
|
// Core type aliases from @tsonic/core
|
|
6
|
-
import type {
|
|
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
9
|
// Import types from other namespaces
|
|
@@ -18,10 +18,10 @@ import type { CancellationToken } from "../../System.Threading/internal/index.js
|
|
|
18
18
|
import * as System_Internal from "../../System/internal/index.js";
|
|
19
19
|
import type { Action_2, AsyncCallback, Boolean as ClrBoolean, Byte, Delegate, IAsyncResult, ICloneable, Int32, IntPtr, MulticastDelegate, Nullable_1, Object as ClrObject, ReadOnlySpan_1, String as ClrString, TimeSpan, Type, ValueType, Void } from "../../System/internal/index.js";
|
|
20
20
|
|
|
21
|
-
export type SseItemParser_1<T> = (eventType: string, data: ReadOnlySpan_1<System_Internal.Byte>) => T;
|
|
21
|
+
export type SseItemParser_1<T extends unknown> = (eventType: string, data: ReadOnlySpan_1<System_Internal.Byte>) => T;
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
export interface SseItem_1$instance<T> {
|
|
24
|
+
export interface SseItem_1$instance<T extends unknown> {
|
|
25
25
|
readonly __tsonic_type_System_Net_ServerSentEvents_SseItem_1: never;
|
|
26
26
|
|
|
27
27
|
readonly Data: T;
|
|
@@ -34,13 +34,13 @@ export interface SseItem_1$instance<T> {
|
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
export const SseItem_1: {
|
|
37
|
-
new<T>(data: T, eventType: string | null): SseItem_1<T>;
|
|
37
|
+
new<T extends unknown>(data: T, eventType: string | null): SseItem_1<T>;
|
|
38
38
|
};
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
export type SseItem_1<T> = SseItem_1$instance<T>;
|
|
41
|
+
export type SseItem_1<T extends unknown> = SseItem_1$instance<T>;
|
|
42
42
|
|
|
43
|
-
export interface SseParser_1$instance<T> {
|
|
43
|
+
export interface SseParser_1$instance<T extends unknown> {
|
|
44
44
|
readonly __tsonic_type_System_Net_ServerSentEvents_SseParser_1: never;
|
|
45
45
|
|
|
46
46
|
LastEventId: string;
|
|
@@ -54,10 +54,10 @@ export const SseParser_1: {
|
|
|
54
54
|
};
|
|
55
55
|
|
|
56
56
|
|
|
57
|
-
export type SseParser_1<T> = SseParser_1$instance<T>;
|
|
57
|
+
export type SseParser_1<T extends unknown> = SseParser_1$instance<T>;
|
|
58
58
|
|
|
59
59
|
export abstract class SseFormatter$instance {
|
|
60
|
-
static WriteAsync<T>(source: IAsyncEnumerable_1<SseItem_1<T>>, destination: Stream, itemFormatter: Action_2<SseItem_1<T>, IBufferWriter_1<System_Internal.Byte>>, cancellationToken?: CancellationToken): Task;
|
|
60
|
+
static WriteAsync<T extends unknown>(source: IAsyncEnumerable_1<SseItem_1<T>>, destination: Stream, itemFormatter: Action_2<SseItem_1<T>, IBufferWriter_1<System_Internal.Byte>>, cancellationToken?: CancellationToken): Task;
|
|
61
61
|
static WriteAsync(source: IAsyncEnumerable_1<SseItem_1<System_Internal.String>>, destination: Stream, cancellationToken?: CancellationToken): Task;
|
|
62
62
|
}
|
|
63
63
|
|
|
@@ -66,7 +66,7 @@ export type SseFormatter = SseFormatter$instance;
|
|
|
66
66
|
|
|
67
67
|
export abstract class SseParser$instance {
|
|
68
68
|
static readonly EventTypeDefault: string;
|
|
69
|
-
static Create<T>(sseStream: Stream, itemParser: SseItemParser_1<T>): SseParser_1<T>;
|
|
69
|
+
static Create<T extends unknown>(sseStream: Stream, itemParser: SseItemParser_1<T>): SseParser_1<T>;
|
|
70
70
|
static Create(sseStream: Stream): SseParser_1<System_Internal.String>;
|
|
71
71
|
}
|
|
72
72
|
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './System.Net.ServerSentEvents/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 { IBufferWriter_1 } from './System.Buffers/internal/index.js';
|
|
10
14
|
import type { IAsyncEnumerable_1, IEnumerable_1 } from './System.Collections.Generic/internal/index.js';
|
|
@@ -18,7 +22,7 @@ import type { Action_2, AsyncCallback, Boolean as ClrBoolean, Byte, Delegate, IA
|
|
|
18
22
|
// Public API exports (curated - no internal $instance/$views leakage)
|
|
19
23
|
export { SseFormatter$instance as SseFormatter } from './System.Net.ServerSentEvents/internal/index.js';
|
|
20
24
|
export { SseItem_1 as SseItem } from './System.Net.ServerSentEvents/internal/index.js';
|
|
21
|
-
export type SseItemParser<T> = Internal.SseItemParser_1<T>;
|
|
25
|
+
export type SseItemParser<T extends unknown> = Internal.SseItemParser_1<T>;
|
|
22
26
|
|
|
23
27
|
// Multi-arity family value exports (arity-0 constructors/static namespaces)
|
|
24
28
|
export const SseParser: typeof Internal.SseParser$instance;
|
|
@@ -28,8 +32,8 @@ declare const __unspecified: unique symbol;
|
|
|
28
32
|
export type __ = typeof __unspecified;
|
|
29
33
|
|
|
30
34
|
export type SseParser<
|
|
31
|
-
T1 = __,
|
|
35
|
+
T1 extends unknown | __ = __,
|
|
32
36
|
> =
|
|
33
37
|
[T1] extends [__] ? Internal.SseParser :
|
|
34
|
-
Internal.SseParser_1<T1
|
|
38
|
+
[T1] extends [unknown] ? Internal.SseParser_1<T1> : never;
|
|
35
39
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// Assembly: System.Net.Primitives, System.Net.Sockets
|
|
4
4
|
|
|
5
5
|
// Core type aliases from @tsonic/core
|
|
6
|
-
import type {
|
|
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
9
|
// Import types from other namespaces
|
|
@@ -364,7 +364,7 @@ export interface IPPacketInformation$instance {
|
|
|
364
364
|
|
|
365
365
|
readonly Address: IPAddress;
|
|
366
366
|
readonly Interface: int;
|
|
367
|
-
Equals(comparand:
|
|
367
|
+
Equals(comparand: unknown | null): boolean;
|
|
368
368
|
Equals(other: IPPacketInformation): boolean;
|
|
369
369
|
GetHashCode(): int;
|
|
370
370
|
}
|
|
@@ -439,7 +439,7 @@ export interface UdpReceiveResult$instance {
|
|
|
439
439
|
|
|
440
440
|
readonly Buffer: byte[];
|
|
441
441
|
readonly RemoteEndPoint: IPEndPoint;
|
|
442
|
-
Equals(obj:
|
|
442
|
+
Equals(obj: unknown | null): boolean;
|
|
443
443
|
Equals(other: UdpReceiveResult): boolean;
|
|
444
444
|
GetHashCode(): int;
|
|
445
445
|
}
|
|
@@ -481,7 +481,7 @@ export interface LingerOption$instance {
|
|
|
481
481
|
|
|
482
482
|
Enabled: boolean;
|
|
483
483
|
LingerTime: int;
|
|
484
|
-
Equals(comparand:
|
|
484
|
+
Equals(comparand: unknown | null): boolean;
|
|
485
485
|
GetHashCode(): int;
|
|
486
486
|
}
|
|
487
487
|
|
|
@@ -528,8 +528,8 @@ export interface NetworkStream$instance extends Stream, System_Internal.IAsyncDi
|
|
|
528
528
|
ReadTimeout: int;
|
|
529
529
|
readonly Socket: Socket;
|
|
530
530
|
WriteTimeout: int;
|
|
531
|
-
BeginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback | null, state:
|
|
532
|
-
BeginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback | null, state:
|
|
531
|
+
BeginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback | null, state: unknown | null): IAsyncResult;
|
|
532
|
+
BeginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback | null, state: unknown | null): IAsyncResult;
|
|
533
533
|
Close(timeout: int): void;
|
|
534
534
|
Close(timeout: TimeSpan): void;
|
|
535
535
|
Close(): void;
|
|
@@ -670,27 +670,27 @@ export interface Socket$instance {
|
|
|
670
670
|
AcceptAsync(cancellationToken: CancellationToken): ValueTask_1<Socket>;
|
|
671
671
|
AcceptAsync(acceptSocket: Socket | null): Task_1<Socket>;
|
|
672
672
|
AcceptAsync(acceptSocket: Socket | null, cancellationToken: CancellationToken): ValueTask_1<Socket>;
|
|
673
|
-
BeginAccept(callback: AsyncCallback | null, state:
|
|
674
|
-
BeginAccept(receiveSize: int, callback: AsyncCallback | null, state:
|
|
675
|
-
BeginAccept(acceptSocket: Socket | null, receiveSize: int, callback: AsyncCallback | null, state:
|
|
676
|
-
BeginConnect(remoteEP: EndPoint, callback: AsyncCallback | null, state:
|
|
677
|
-
BeginConnect(host: string, port: int, requestCallback: AsyncCallback | null, state:
|
|
678
|
-
BeginConnect(address: IPAddress, port: int, requestCallback: AsyncCallback | null, state:
|
|
679
|
-
BeginConnect(addresses: IPAddress[], port: int, requestCallback: AsyncCallback | null, state:
|
|
680
|
-
BeginDisconnect(reuseSocket: boolean, callback: AsyncCallback | null, state:
|
|
681
|
-
BeginReceive(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, callback: AsyncCallback | null, state:
|
|
682
|
-
BeginReceive(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, errorCode: SocketError, callback: AsyncCallback | null, state:
|
|
683
|
-
BeginReceive(buffers: IList_1<ArraySegment_1<System_Internal.Byte>>, socketFlags: SocketFlags, callback: AsyncCallback | null, state:
|
|
684
|
-
BeginReceive(buffers: IList_1<ArraySegment_1<System_Internal.Byte>>, socketFlags: SocketFlags, errorCode: SocketError, callback: AsyncCallback | null, state:
|
|
685
|
-
BeginReceiveFrom(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, remoteEP: EndPoint, callback: AsyncCallback | null, state:
|
|
686
|
-
BeginReceiveMessageFrom(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, remoteEP: EndPoint, callback: AsyncCallback | null, state:
|
|
687
|
-
BeginSend(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, callback: AsyncCallback | null, state:
|
|
688
|
-
BeginSend(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, errorCode: SocketError, callback: AsyncCallback | null, state:
|
|
689
|
-
BeginSend(buffers: IList_1<ArraySegment_1<System_Internal.Byte>>, socketFlags: SocketFlags, callback: AsyncCallback | null, state:
|
|
690
|
-
BeginSend(buffers: IList_1<ArraySegment_1<System_Internal.Byte>>, socketFlags: SocketFlags, errorCode: SocketError, callback: AsyncCallback | null, state:
|
|
691
|
-
BeginSendFile(fileName: string | null, callback: AsyncCallback | null, state:
|
|
692
|
-
BeginSendFile(fileName: string | null, preBuffer: byte[] | null, postBuffer: byte[] | null, flags: TransmitFileOptions, callback: AsyncCallback | null, state:
|
|
693
|
-
BeginSendTo(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, remoteEP: EndPoint, callback: AsyncCallback | null, state:
|
|
673
|
+
BeginAccept(callback: AsyncCallback | null, state: unknown | null): IAsyncResult;
|
|
674
|
+
BeginAccept(receiveSize: int, callback: AsyncCallback | null, state: unknown | null): IAsyncResult;
|
|
675
|
+
BeginAccept(acceptSocket: Socket | null, receiveSize: int, callback: AsyncCallback | null, state: unknown | null): IAsyncResult;
|
|
676
|
+
BeginConnect(remoteEP: EndPoint, callback: AsyncCallback | null, state: unknown | null): IAsyncResult;
|
|
677
|
+
BeginConnect(host: string, port: int, requestCallback: AsyncCallback | null, state: unknown | null): IAsyncResult;
|
|
678
|
+
BeginConnect(address: IPAddress, port: int, requestCallback: AsyncCallback | null, state: unknown | null): IAsyncResult;
|
|
679
|
+
BeginConnect(addresses: IPAddress[], port: int, requestCallback: AsyncCallback | null, state: unknown | null): IAsyncResult;
|
|
680
|
+
BeginDisconnect(reuseSocket: boolean, callback: AsyncCallback | null, state: unknown | null): IAsyncResult;
|
|
681
|
+
BeginReceive(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, callback: AsyncCallback | null, state: unknown | null): IAsyncResult;
|
|
682
|
+
BeginReceive(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, errorCode: SocketError, callback: AsyncCallback | null, state: unknown | null): IAsyncResult | null;
|
|
683
|
+
BeginReceive(buffers: IList_1<ArraySegment_1<System_Internal.Byte>>, socketFlags: SocketFlags, callback: AsyncCallback | null, state: unknown | null): IAsyncResult;
|
|
684
|
+
BeginReceive(buffers: IList_1<ArraySegment_1<System_Internal.Byte>>, socketFlags: SocketFlags, errorCode: SocketError, callback: AsyncCallback | null, state: unknown | null): IAsyncResult | null;
|
|
685
|
+
BeginReceiveFrom(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, remoteEP: EndPoint, callback: AsyncCallback | null, state: unknown | null): IAsyncResult;
|
|
686
|
+
BeginReceiveMessageFrom(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, remoteEP: EndPoint, callback: AsyncCallback | null, state: unknown | null): IAsyncResult;
|
|
687
|
+
BeginSend(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, callback: AsyncCallback | null, state: unknown | null): IAsyncResult;
|
|
688
|
+
BeginSend(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, errorCode: SocketError, callback: AsyncCallback | null, state: unknown | null): IAsyncResult | null;
|
|
689
|
+
BeginSend(buffers: IList_1<ArraySegment_1<System_Internal.Byte>>, socketFlags: SocketFlags, callback: AsyncCallback | null, state: unknown | null): IAsyncResult;
|
|
690
|
+
BeginSend(buffers: IList_1<ArraySegment_1<System_Internal.Byte>>, socketFlags: SocketFlags, errorCode: SocketError, callback: AsyncCallback | null, state: unknown | null): IAsyncResult | null;
|
|
691
|
+
BeginSendFile(fileName: string | null, callback: AsyncCallback | null, state: unknown | null): IAsyncResult;
|
|
692
|
+
BeginSendFile(fileName: string | null, preBuffer: byte[] | null, postBuffer: byte[] | null, flags: TransmitFileOptions, callback: AsyncCallback | null, state: unknown | null): IAsyncResult;
|
|
693
|
+
BeginSendTo(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, remoteEP: EndPoint, callback: AsyncCallback | null, state: unknown | null): IAsyncResult;
|
|
694
694
|
Bind(localEP: EndPoint): void;
|
|
695
695
|
Close(): void;
|
|
696
696
|
Close(timeout: int): void;
|
|
@@ -728,7 +728,7 @@ export interface Socket$instance {
|
|
|
728
728
|
EndSendTo(asyncResult: IAsyncResult): int;
|
|
729
729
|
Finalize(): void;
|
|
730
730
|
GetRawSocketOption(optionLevel: int, optionName: int, optionValue: Span_1<System_Internal.Byte>): int;
|
|
731
|
-
GetSocketOption(optionLevel: SocketOptionLevel, optionName: SocketOptionName):
|
|
731
|
+
GetSocketOption(optionLevel: SocketOptionLevel, optionName: SocketOptionName): unknown | null;
|
|
732
732
|
GetSocketOption(optionLevel: SocketOptionLevel, optionName: SocketOptionName, optionValue: byte[]): void;
|
|
733
733
|
GetSocketOption(optionLevel: SocketOptionLevel, optionName: SocketOptionName, optionLength: int): byte[];
|
|
734
734
|
IOControl(ioControlCode: int, optionInValue: byte[] | null, optionOutValue: byte[] | null): int;
|
|
@@ -817,7 +817,7 @@ export interface Socket$instance {
|
|
|
817
817
|
SetSocketOption(optionLevel: SocketOptionLevel, optionName: SocketOptionName, optionValue: int): void;
|
|
818
818
|
SetSocketOption(optionLevel: SocketOptionLevel, optionName: SocketOptionName, optionValue: byte[]): void;
|
|
819
819
|
SetSocketOption(optionLevel: SocketOptionLevel, optionName: SocketOptionName, optionValue: boolean): void;
|
|
820
|
-
SetSocketOption(optionLevel: SocketOptionLevel, optionName: SocketOptionName, optionValue:
|
|
820
|
+
SetSocketOption(optionLevel: SocketOptionLevel, optionName: SocketOptionName, optionValue: unknown): void;
|
|
821
821
|
Shutdown(how: SocketShutdown): void;
|
|
822
822
|
}
|
|
823
823
|
|
|
@@ -873,8 +873,8 @@ export interface SocketAsyncEventArgs$instance extends EventArgs, System_Interna
|
|
|
873
873
|
SendPacketsSendSize: int;
|
|
874
874
|
SocketError: SocketError;
|
|
875
875
|
SocketFlags: SocketFlags;
|
|
876
|
-
get UserToken():
|
|
877
|
-
set UserToken(value:
|
|
876
|
+
get UserToken(): unknown | null;
|
|
877
|
+
set UserToken(value: unknown | null);
|
|
878
878
|
Dispose(): void;
|
|
879
879
|
Finalize(): void;
|
|
880
880
|
OnCompleted(e: SocketAsyncEventArgs): void;
|
|
@@ -897,7 +897,7 @@ export interface __SocketAsyncEventArgs$views {
|
|
|
897
897
|
export type SocketAsyncEventArgs = SocketAsyncEventArgs$instance & __SocketAsyncEventArgs$views;
|
|
898
898
|
|
|
899
899
|
|
|
900
|
-
export interface SocketException$instance extends Win32Exception {
|
|
900
|
+
export interface SocketException$instance extends Win32Exception, System_Runtime_Serialization_Internal.ISerializable$instance {
|
|
901
901
|
readonly __tsonic_type_System_Net_Sockets_SocketException: never;
|
|
902
902
|
|
|
903
903
|
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
@@ -938,9 +938,9 @@ export interface TcpClient$instance {
|
|
|
938
938
|
ReceiveTimeout: int;
|
|
939
939
|
SendBufferSize: int;
|
|
940
940
|
SendTimeout: int;
|
|
941
|
-
BeginConnect(address: IPAddress, port: int, requestCallback: AsyncCallback | null, state:
|
|
942
|
-
BeginConnect(host: string, port: int, requestCallback: AsyncCallback | null, state:
|
|
943
|
-
BeginConnect(addresses: IPAddress[], port: int, requestCallback: AsyncCallback | null, state:
|
|
941
|
+
BeginConnect(address: IPAddress, port: int, requestCallback: AsyncCallback | null, state: unknown | null): IAsyncResult;
|
|
942
|
+
BeginConnect(host: string, port: int, requestCallback: AsyncCallback | null, state: unknown | null): IAsyncResult;
|
|
943
|
+
BeginConnect(addresses: IPAddress[], port: int, requestCallback: AsyncCallback | null, state: unknown | null): IAsyncResult;
|
|
944
944
|
Close(): void;
|
|
945
945
|
Connect(hostname: string, port: int): void;
|
|
946
946
|
Connect(address: IPAddress, port: int): void;
|
|
@@ -992,8 +992,8 @@ export interface TcpListener$instance extends System_Internal.IDisposable$instan
|
|
|
992
992
|
AcceptTcpClientAsync(): Task_1<TcpClient>;
|
|
993
993
|
AcceptTcpClientAsync(cancellationToken: CancellationToken): ValueTask_1<TcpClient>;
|
|
994
994
|
AllowNatTraversal(allowed: boolean): void;
|
|
995
|
-
BeginAcceptSocket(callback: AsyncCallback | null, state:
|
|
996
|
-
BeginAcceptTcpClient(callback: AsyncCallback | null, state:
|
|
995
|
+
BeginAcceptSocket(callback: AsyncCallback | null, state: unknown | null): IAsyncResult;
|
|
996
|
+
BeginAcceptTcpClient(callback: AsyncCallback | null, state: unknown | null): IAsyncResult;
|
|
997
997
|
Dispose(): void;
|
|
998
998
|
EndAcceptSocket(asyncResult: IAsyncResult): Socket;
|
|
999
999
|
EndAcceptTcpClient(asyncResult: IAsyncResult): TcpClient;
|
|
@@ -1032,10 +1032,10 @@ export interface UdpClient$instance {
|
|
|
1032
1032
|
MulticastLoopback: boolean;
|
|
1033
1033
|
Ttl: short;
|
|
1034
1034
|
AllowNatTraversal(allowed: boolean): void;
|
|
1035
|
-
BeginReceive(requestCallback: AsyncCallback | null, state:
|
|
1036
|
-
BeginSend(datagram: byte[], bytes: int, requestCallback: AsyncCallback | null, state:
|
|
1037
|
-
BeginSend(datagram: byte[], bytes: int, hostname: string | null, port: int, requestCallback: AsyncCallback | null, state:
|
|
1038
|
-
BeginSend(datagram: byte[], bytes: int, endPoint: IPEndPoint | null, requestCallback: AsyncCallback | null, state:
|
|
1035
|
+
BeginReceive(requestCallback: AsyncCallback | null, state: unknown | null): IAsyncResult;
|
|
1036
|
+
BeginSend(datagram: byte[], bytes: int, requestCallback: AsyncCallback | null, state: unknown | null): IAsyncResult;
|
|
1037
|
+
BeginSend(datagram: byte[], bytes: int, hostname: string | null, port: int, requestCallback: AsyncCallback | null, state: unknown | null): IAsyncResult;
|
|
1038
|
+
BeginSend(datagram: byte[], bytes: int, endPoint: IPEndPoint | null, requestCallback: AsyncCallback | null, state: unknown | null): IAsyncResult;
|
|
1039
1039
|
Close(): void;
|
|
1040
1040
|
Connect(hostname: string, port: int): void;
|
|
1041
1041
|
Connect(addr: IPAddress, port: int): void;
|
|
@@ -1090,7 +1090,7 @@ export interface UnixDomainSocketEndPoint$instance extends EndPoint {
|
|
|
1090
1090
|
|
|
1091
1091
|
readonly AddressFamily: AddressFamily;
|
|
1092
1092
|
Create(socketAddress: SocketAddress): EndPoint;
|
|
1093
|
-
Equals(obj:
|
|
1093
|
+
Equals(obj: unknown | null): boolean;
|
|
1094
1094
|
GetHashCode(): int;
|
|
1095
1095
|
Serialize(): SocketAddress;
|
|
1096
1096
|
ToString(): string;
|
package/System.Net.Sockets.d.ts
CHANGED
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './System.Net.Sockets/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 { SafeHandleMinusOneIsInvalid } from './Microsoft.Win32.SafeHandles/internal/index.js';
|
|
10
14
|
import type { IList_1 } from './System.Collections.Generic/internal/index.js';
|