@tsonic/aspnetcore 10.0.2 → 10.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Microsoft.AspNetCore/internal/index.d.ts +6 -6
- package/Microsoft.AspNetCore.Antiforgery/internal/index.d.ts +27 -9
- package/Microsoft.AspNetCore.Authentication/internal/index.d.ts +250 -112
- package/Microsoft.AspNetCore.Authentication.BearerToken/internal/index.d.ts +13 -5
- package/Microsoft.AspNetCore.Authentication.Cookies/internal/index.d.ts +64 -34
- package/Microsoft.AspNetCore.Authentication.OAuth/internal/index.d.ts +47 -28
- package/Microsoft.AspNetCore.Authentication.OAuth.Claims/internal/index.d.ts +28 -11
- package/Microsoft.AspNetCore.Authorization/internal/index.d.ts +137 -75
- package/Microsoft.AspNetCore.Authorization.Infrastructure/internal/index.d.ts +53 -32
- package/Microsoft.AspNetCore.Authorization.Policy/internal/index.d.ts +21 -13
- package/Microsoft.AspNetCore.Builder/internal/index.d.ts +221 -139
- package/Microsoft.AspNetCore.Builder.Extensions/internal/index.d.ts +15 -5
- package/Microsoft.AspNetCore.Components/internal/index.d.ts +358 -187
- package/Microsoft.AspNetCore.Components.Authorization/internal/index.d.ts +46 -17
- package/Microsoft.AspNetCore.Components.CompilerServices/internal/index.d.ts +8 -8
- package/Microsoft.AspNetCore.Components.Endpoints/internal/index.d.ts +15 -5
- package/Microsoft.AspNetCore.Components.Endpoints.Infrastructure/internal/index.d.ts +6 -4
- package/Microsoft.AspNetCore.Components.Forms/internal/index.d.ts +220 -89
- package/Microsoft.AspNetCore.Components.Forms.Mapping/internal/index.d.ts +15 -9
- package/Microsoft.AspNetCore.Components.Forms.Mapping.d.ts +3 -0
- package/Microsoft.AspNetCore.Components.HtmlRendering.Infrastructure/internal/index.d.ts +10 -5
- package/Microsoft.AspNetCore.Components.Infrastructure/internal/index.d.ts +9 -7
- package/Microsoft.AspNetCore.Components.Infrastructure.d.ts +3 -0
- package/Microsoft.AspNetCore.Components.RenderTree/internal/index.d.ts +44 -13
- package/Microsoft.AspNetCore.Components.Rendering/internal/index.d.ts +16 -8
- package/Microsoft.AspNetCore.Components.Routing/internal/index.d.ts +55 -22
- package/Microsoft.AspNetCore.Components.Sections/internal/index.d.ts +15 -9
- package/Microsoft.AspNetCore.Components.Server/internal/index.d.ts +33 -20
- package/Microsoft.AspNetCore.Components.Server.Circuits/internal/index.d.ts +11 -5
- package/Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage/internal/index.d.ts +13 -5
- package/Microsoft.AspNetCore.Components.Web/internal/index.d.ts +105 -37
- package/Microsoft.AspNetCore.Components.Web.HtmlRendering/internal/index.d.ts +6 -4
- package/Microsoft.AspNetCore.Components.Web.Infrastructure/internal/index.d.ts +5 -3
- package/Microsoft.AspNetCore.Components.Web.Internal/internal/index.d.ts +3 -1
- package/Microsoft.AspNetCore.Components.Web.Virtualization/internal/index.d.ts +27 -15
- package/Microsoft.AspNetCore.Connections/internal/index.d.ts +130 -49
- package/Microsoft.AspNetCore.Connections.Abstractions/internal/index.d.ts +6 -4
- package/Microsoft.AspNetCore.Connections.Features/internal/index.d.ts +64 -20
- package/Microsoft.AspNetCore.CookiePolicy/internal/index.d.ts +13 -7
- package/Microsoft.AspNetCore.Cors/internal/index.d.ts +19 -8
- package/Microsoft.AspNetCore.Cors.Infrastructure/internal/index.d.ts +55 -29
- package/Microsoft.AspNetCore.Cryptography.KeyDerivation/internal/index.d.ts +2 -2
- package/Microsoft.AspNetCore.DataProtection/internal/index.d.ts +43 -20
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption/internal/index.d.ts +28 -16
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel/internal/index.d.ts +59 -27
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.d.ts +3 -0
- package/Microsoft.AspNetCore.DataProtection.Infrastructure/internal/index.d.ts +3 -1
- package/Microsoft.AspNetCore.DataProtection.Internal/internal/index.d.ts +3 -1
- package/Microsoft.AspNetCore.DataProtection.KeyManagement/internal/index.d.ts +32 -19
- package/Microsoft.AspNetCore.DataProtection.KeyManagement.Internal/internal/index.d.ts +19 -5
- package/Microsoft.AspNetCore.DataProtection.Repositories/internal/index.d.ts +31 -15
- package/Microsoft.AspNetCore.DataProtection.XmlEncryption/internal/index.d.ts +58 -32
- package/Microsoft.AspNetCore.Diagnostics/internal/index.d.ts +64 -21
- package/Microsoft.AspNetCore.Diagnostics.HealthChecks/internal/index.d.ts +15 -11
- package/Microsoft.AspNetCore.HostFiltering/internal/index.d.ts +12 -8
- package/Microsoft.AspNetCore.Hosting/internal/index.d.ts +89 -47
- package/Microsoft.AspNetCore.Hosting.Builder/internal/index.d.ts +9 -5
- package/Microsoft.AspNetCore.Hosting.Infrastructure/internal/index.d.ts +10 -6
- package/Microsoft.AspNetCore.Hosting.Server/internal/index.d.ts +16 -4
- package/Microsoft.AspNetCore.Hosting.Server.Abstractions/internal/index.d.ts +2 -0
- package/Microsoft.AspNetCore.Hosting.Server.Features/internal/index.d.ts +12 -8
- package/Microsoft.AspNetCore.Hosting.StaticWebAssets/internal/index.d.ts +5 -3
- package/Microsoft.AspNetCore.Html/internal/index.d.ts +31 -13
- package/Microsoft.AspNetCore.Http/internal/index.d.ts +408 -199
- package/Microsoft.AspNetCore.Http.Connections/internal/index.d.ts +34 -16
- package/Microsoft.AspNetCore.Http.Connections.Features/internal/index.d.ts +4 -0
- package/Microsoft.AspNetCore.Http.Extensions/internal/index.d.ts +21 -16
- package/Microsoft.AspNetCore.Http.Features/internal/index.d.ts +208 -88
- package/Microsoft.AspNetCore.Http.Features.Authentication/internal/index.d.ts +10 -6
- package/Microsoft.AspNetCore.Http.Headers/internal/index.d.ts +31 -27
- package/Microsoft.AspNetCore.Http.HttpResults/internal/index.d.ts +378 -171
- package/Microsoft.AspNetCore.Http.Json/internal/index.d.ts +5 -3
- package/Microsoft.AspNetCore.Http.Metadata/internal/index.d.ts +74 -26
- package/Microsoft.AspNetCore.Http.Timeouts/internal/index.d.ts +18 -8
- package/Microsoft.AspNetCore.HttpLogging/internal/index.d.ts +23 -11
- package/Microsoft.AspNetCore.HttpOverrides/internal/index.d.ts +23 -13
- package/Microsoft.AspNetCore.HttpsPolicy/internal/index.d.ts +21 -13
- package/Microsoft.AspNetCore.Identity/internal/index.d.ts +725 -456
- package/Microsoft.AspNetCore.Identity.Data/internal/index.d.ts +23 -3
- package/Microsoft.AspNetCore.Identity.UI.Services/internal/index.d.ts +10 -6
- package/Microsoft.AspNetCore.Localization/internal/index.d.ts +57 -27
- package/Microsoft.AspNetCore.Localization.Routing/internal/index.d.ts +7 -3
- package/Microsoft.AspNetCore.Mvc/internal/index.d.ts +724 -205
- package/Microsoft.AspNetCore.Mvc.Abstractions/internal/index.d.ts +27 -13
- package/Microsoft.AspNetCore.Mvc.ActionConstraints/internal/index.d.ts +37 -13
- package/Microsoft.AspNetCore.Mvc.ApiExplorer/internal/index.d.ts +76 -30
- package/Microsoft.AspNetCore.Mvc.ApplicationModels/internal/index.d.ts +244 -125
- package/Microsoft.AspNetCore.Mvc.ApplicationParts/internal/index.d.ts +59 -25
- package/Microsoft.AspNetCore.Mvc.Authorization/internal/index.d.ts +21 -10
- package/Microsoft.AspNetCore.Mvc.Controllers/internal/index.d.ts +51 -24
- package/Microsoft.AspNetCore.Mvc.Core.Infrastructure/internal/index.d.ts +3 -1
- package/Microsoft.AspNetCore.Mvc.Cors/internal/index.d.ts +12 -7
- package/Microsoft.AspNetCore.Mvc.DataAnnotations/internal/index.d.ts +43 -18
- package/Microsoft.AspNetCore.Mvc.Diagnostics/internal/index.d.ts +431 -68
- package/Microsoft.AspNetCore.Mvc.Filters/internal/index.d.ts +140 -44
- package/Microsoft.AspNetCore.Mvc.Formatters/internal/index.d.ts +192 -89
- package/Microsoft.AspNetCore.Mvc.Formatters.Xml/internal/index.d.ts +77 -36
- package/Microsoft.AspNetCore.Mvc.Formatters.Xml.d.ts +3 -0
- package/Microsoft.AspNetCore.Mvc.Infrastructure/internal/index.d.ts +162 -66
- package/Microsoft.AspNetCore.Mvc.Localization/internal/index.d.ts +48 -25
- package/Microsoft.AspNetCore.Mvc.ModelBinding/internal/index.d.ts +379 -133
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Binders/internal/index.d.ts +217 -128
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata/internal/index.d.ts +156 -102
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.d.ts +3 -0
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation/internal/index.d.ts +100 -43
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation.d.ts +3 -0
- package/Microsoft.AspNetCore.Mvc.Razor/internal/index.d.ts +105 -56
- package/Microsoft.AspNetCore.Mvc.Razor.Compilation/internal/index.d.ts +19 -9
- package/Microsoft.AspNetCore.Mvc.Razor.Infrastructure/internal/index.d.ts +5 -3
- package/Microsoft.AspNetCore.Mvc.Razor.Internal/internal/index.d.ts +4 -2
- package/Microsoft.AspNetCore.Mvc.Razor.TagHelpers/internal/index.d.ts +43 -18
- package/Microsoft.AspNetCore.Mvc.RazorPages/internal/index.d.ts +81 -42
- package/Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure/internal/index.d.ts +70 -37
- package/Microsoft.AspNetCore.Mvc.Rendering/internal/index.d.ts +123 -95
- package/Microsoft.AspNetCore.Mvc.Routing/internal/index.d.ts +57 -25
- package/Microsoft.AspNetCore.Mvc.TagHelpers/internal/index.d.ts +151 -72
- package/Microsoft.AspNetCore.Mvc.TagHelpers.Cache/internal/index.d.ts +41 -23
- package/Microsoft.AspNetCore.Mvc.ViewComponents/internal/index.d.ts +94 -48
- package/Microsoft.AspNetCore.Mvc.ViewEngines/internal/index.d.ts +24 -11
- package/Microsoft.AspNetCore.Mvc.ViewFeatures/internal/index.d.ts +266 -144
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers/internal/index.d.ts +7 -3
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure/internal/index.d.ts +7 -5
- package/Microsoft.AspNetCore.OutputCaching/internal/index.d.ts +44 -26
- package/Microsoft.AspNetCore.RateLimiting/internal/index.d.ts +22 -12
- package/Microsoft.AspNetCore.Razor.Hosting/internal/index.d.ts +28 -10
- package/Microsoft.AspNetCore.Razor.Runtime.TagHelpers/internal/index.d.ts +17 -11
- package/Microsoft.AspNetCore.Razor.TagHelpers/internal/index.d.ts +100 -31
- package/Microsoft.AspNetCore.RequestDecompression/internal/index.d.ts +11 -5
- package/Microsoft.AspNetCore.ResponseCaching/internal/index.d.ts +18 -10
- package/Microsoft.AspNetCore.ResponseCompression/internal/index.d.ts +64 -29
- package/Microsoft.AspNetCore.Rewrite/internal/index.d.ts +20 -12
- package/Microsoft.AspNetCore.Routing/internal/index.d.ts +291 -131
- package/Microsoft.AspNetCore.Routing.Constraints/internal/index.d.ts +191 -79
- package/Microsoft.AspNetCore.Routing.Internal/internal/index.d.ts +5 -3
- package/Microsoft.AspNetCore.Routing.Matching/internal/index.d.ts +61 -25
- package/Microsoft.AspNetCore.Routing.Patterns/internal/index.d.ts +40 -20
- package/Microsoft.AspNetCore.Routing.Template/internal/index.d.ts +25 -9
- package/Microsoft.AspNetCore.Routing.Tree/internal/index.d.ts +29 -13
- package/Microsoft.AspNetCore.Server.HttpSys/internal/index.d.ts +50 -18
- package/Microsoft.AspNetCore.Server.IIS/internal/index.d.ts +12 -4
- package/Microsoft.AspNetCore.Server.IISIntegration/internal/index.d.ts +17 -11
- package/Microsoft.AspNetCore.Server.Kestrel/internal/index.d.ts +16 -12
- package/Microsoft.AspNetCore.Server.Kestrel.Core/internal/index.d.ts +56 -36
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Features/internal/index.d.ts +17 -3
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http/internal/index.d.ts +20 -8
- package/Microsoft.AspNetCore.Server.Kestrel.Https/internal/index.d.ts +23 -17
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes/internal/index.d.ts +10 -6
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic/internal/index.d.ts +6 -4
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets/internal/index.d.ts +29 -18
- package/Microsoft.AspNetCore.Session/internal/index.d.ts +32 -22
- package/Microsoft.AspNetCore.SignalR/internal/index.d.ts +191 -91
- package/Microsoft.AspNetCore.SignalR.Protocol/internal/index.d.ts +63 -25
- package/Microsoft.AspNetCore.StaticAssets/internal/index.d.ts +21 -11
- package/Microsoft.AspNetCore.StaticAssets.Infrastructure/internal/index.d.ts +4 -4
- package/Microsoft.AspNetCore.StaticFiles/internal/index.d.ts +38 -22
- package/Microsoft.AspNetCore.StaticFiles.Infrastructure/internal/index.d.ts +7 -3
- package/Microsoft.AspNetCore.WebSockets/internal/index.d.ts +14 -10
- package/Microsoft.AspNetCore.WebSockets.d.ts +3 -0
- package/Microsoft.AspNetCore.WebUtilities/internal/index.d.ts +119 -73
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +135 -123
- package/Microsoft.Extensions.Hosting/internal/index.d.ts +10 -8
- package/Microsoft.Extensions.Hosting.d.ts +3 -0
- package/Microsoft.JSInterop/internal/index.d.ts +95 -52
- package/Microsoft.JSInterop.Implementation/internal/index.d.ts +40 -26
- package/Microsoft.JSInterop.Infrastructure/internal/index.d.ts +10 -2
- package/Microsoft.Net.Http.Headers/internal/index.d.ts +92 -60
- package/System.Formats.Cbor/internal/index.d.ts +29 -21
- package/System.Security.Claims/internal/index.d.ts +3 -3
- package/System.Security.Claims.d.ts +3 -0
- package/System.Threading.RateLimiting/internal/index.d.ts +84 -29
- package/__internal/extensions/index.d.ts +1776 -1190
- package/package.json +4 -4
|
@@ -9,9 +9,9 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
9
9
|
import type { ptr } from "@tsonic/core/types.js";
|
|
10
10
|
|
|
11
11
|
// Import types from other namespaces
|
|
12
|
-
import type {
|
|
13
|
-
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
14
|
-
import type { Boolean as ClrBoolean, Byte, Enum, IComparable, IConvertible, IFormattable, Int32, ISpanFormattable, Object as ClrObject,
|
|
12
|
+
import type { SequenceReader_1 } from "@tsonic/dotnet/System.Buffers/internal/index.js";
|
|
13
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
14
|
+
import type { Boolean as ClrBoolean, Byte, Enum, IComparable, IConvertible, IFormattable, Int32, ISpanFormattable, Object as ClrObject, ReadOnlySpan_1, SByte, Span_1, ValueType, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
15
15
|
|
|
16
16
|
export enum HttpMethod {
|
|
17
17
|
Get = 0,
|
|
@@ -45,9 +45,11 @@ export enum HttpVersion {
|
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
export interface IHttpHeadersHandler$instance {
|
|
48
|
-
|
|
48
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Server_Kestrel_Core_Internal_Http_IHttpHeadersHandler: never;
|
|
49
|
+
|
|
50
|
+
OnHeader(name: ReadOnlySpan_1<System_Internal.Byte>, value: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
49
51
|
OnHeadersComplete(endStream: boolean): void;
|
|
50
|
-
OnStaticIndexedHeader(index: int, value:
|
|
52
|
+
OnStaticIndexedHeader(index: int, value: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
51
53
|
OnStaticIndexedHeader(index: int): void;
|
|
52
54
|
}
|
|
53
55
|
|
|
@@ -55,13 +57,17 @@ export interface IHttpHeadersHandler$instance {
|
|
|
55
57
|
export type IHttpHeadersHandler = IHttpHeadersHandler$instance;
|
|
56
58
|
|
|
57
59
|
export interface IHttpRequestLineHandler$instance {
|
|
58
|
-
|
|
60
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Server_Kestrel_Core_Internal_Http_IHttpRequestLineHandler: never;
|
|
61
|
+
|
|
62
|
+
OnStartLine(versionAndMethod: HttpVersionAndMethod, targetPath: TargetOffsetPathLength, startLine: Span_1<System_Internal.Byte>): void;
|
|
59
63
|
}
|
|
60
64
|
|
|
61
65
|
|
|
62
66
|
export type IHttpRequestLineHandler = IHttpRequestLineHandler$instance;
|
|
63
67
|
|
|
64
68
|
export interface HttpVersionAndMethod$instance {
|
|
69
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Server_Kestrel_Core_Internal_Http_HttpVersionAndMethod: never;
|
|
70
|
+
|
|
65
71
|
readonly Method: HttpMethod;
|
|
66
72
|
readonly MethodEnd: int;
|
|
67
73
|
Version: HttpVersion;
|
|
@@ -76,6 +82,8 @@ export const HttpVersionAndMethod: {
|
|
|
76
82
|
export type HttpVersionAndMethod = HttpVersionAndMethod$instance;
|
|
77
83
|
|
|
78
84
|
export interface TargetOffsetPathLength$instance {
|
|
85
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Server_Kestrel_Core_Internal_Http_TargetOffsetPathLength: never;
|
|
86
|
+
|
|
79
87
|
readonly IsEncoded: boolean;
|
|
80
88
|
readonly Length: int;
|
|
81
89
|
readonly Offset: int;
|
|
@@ -90,8 +98,12 @@ export const TargetOffsetPathLength: {
|
|
|
90
98
|
export type TargetOffsetPathLength = TargetOffsetPathLength$instance;
|
|
91
99
|
|
|
92
100
|
export interface HttpParser_1$instance<TRequestHandler extends IHttpHeadersHandler & IHttpRequestLineHandler> {
|
|
93
|
-
|
|
94
|
-
|
|
101
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Server_Kestrel_Core_Internal_Http_HttpParser_1: never;
|
|
102
|
+
|
|
103
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Server_Kestrel_Core_Internal_Http_IHttpParser_1: never;
|
|
104
|
+
|
|
105
|
+
ParseHeaders(handler: TRequestHandler, reader: SequenceReader_1<System_Internal.Byte>): boolean;
|
|
106
|
+
ParseRequestLine(handler: TRequestHandler, reader: SequenceReader_1<System_Internal.Byte>): boolean;
|
|
95
107
|
}
|
|
96
108
|
|
|
97
109
|
|
|
@@ -7,14 +7,14 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
7
7
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
9
|
import type { ConnectionContext } from "../../Microsoft.AspNetCore.Connections/internal/index.js";
|
|
10
|
-
import type {
|
|
11
|
-
import
|
|
12
|
-
import type {
|
|
13
|
-
import type {
|
|
14
|
-
import type {
|
|
15
|
-
import type {
|
|
16
|
-
import
|
|
17
|
-
import type {
|
|
10
|
+
import type { ReadOnlySequence_1 } from "@tsonic/dotnet/System.Buffers/internal/index.js";
|
|
11
|
+
import type { SslClientHelloInfo, SslPolicyErrors, SslServerAuthenticationOptions, SslStream } from "@tsonic/dotnet/System.Net.Security/internal/index.js";
|
|
12
|
+
import type { SslProtocols } from "@tsonic/dotnet/System.Security.Authentication/internal/index.js";
|
|
13
|
+
import type { StoreLocation, X509Certificate2, X509Certificate2Collection, X509Chain } from "@tsonic/dotnet/System.Security.Cryptography.X509Certificates/internal/index.js";
|
|
14
|
+
import type { ValueTask_1 } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
|
|
15
|
+
import type { CancellationToken } from "@tsonic/dotnet/System.Threading/internal/index.js";
|
|
16
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
17
|
+
import type { Action_2, Boolean as ClrBoolean, Byte, Enum, Func_2, Func_3, Func_4, IComparable, IConvertible, IFormattable, Int32, ISpanFormattable, Object as ClrObject, String as ClrString, TimeSpan, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
18
18
|
|
|
19
19
|
export enum ClientCertificateMode {
|
|
20
20
|
NoCertificate = 0,
|
|
@@ -25,22 +25,24 @@ export enum ClientCertificateMode {
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
export interface HttpsConnectionAdapterOptions$instance {
|
|
28
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Server_Kestrel_Https_HttpsConnectionAdapterOptions: never;
|
|
29
|
+
|
|
28
30
|
CheckCertificateRevocation: boolean;
|
|
29
31
|
ClientCertificateMode: ClientCertificateMode;
|
|
30
|
-
get ClientCertificateValidation():
|
|
31
|
-
set ClientCertificateValidation(value:
|
|
32
|
+
get ClientCertificateValidation(): Func_4<X509Certificate2, X509Chain | undefined, SslPolicyErrors, System_Internal.Boolean> | undefined;
|
|
33
|
+
set ClientCertificateValidation(value: Func_4<X509Certificate2, X509Chain | undefined, SslPolicyErrors, System_Internal.Boolean> | undefined);
|
|
32
34
|
HandshakeTimeout: TimeSpan;
|
|
33
|
-
get OnAuthenticate():
|
|
34
|
-
set OnAuthenticate(value:
|
|
35
|
+
get OnAuthenticate(): Action_2<ConnectionContext, SslServerAuthenticationOptions> | undefined;
|
|
36
|
+
set OnAuthenticate(value: Action_2<ConnectionContext, SslServerAuthenticationOptions> | undefined);
|
|
35
37
|
get ServerCertificate(): X509Certificate2 | undefined;
|
|
36
38
|
set ServerCertificate(value: X509Certificate2 | undefined);
|
|
37
39
|
get ServerCertificateChain(): X509Certificate2Collection | undefined;
|
|
38
40
|
set ServerCertificateChain(value: X509Certificate2Collection | undefined);
|
|
39
|
-
get ServerCertificateSelector():
|
|
40
|
-
set ServerCertificateSelector(value:
|
|
41
|
+
get ServerCertificateSelector(): Func_3<ConnectionContext | undefined, string | undefined, X509Certificate2 | undefined> | undefined;
|
|
42
|
+
set ServerCertificateSelector(value: Func_3<ConnectionContext | undefined, string | undefined, X509Certificate2 | undefined> | undefined);
|
|
41
43
|
SslProtocols: SslProtocols;
|
|
42
|
-
get TlsClientHelloBytesCallback():
|
|
43
|
-
set TlsClientHelloBytesCallback(value:
|
|
44
|
+
get TlsClientHelloBytesCallback(): Action_2<ConnectionContext | undefined, ReadOnlySequence_1<System_Internal.Byte>> | undefined;
|
|
45
|
+
set TlsClientHelloBytesCallback(value: Action_2<ConnectionContext | undefined, ReadOnlySequence_1<System_Internal.Byte>> | undefined);
|
|
44
46
|
AllowAnyClientCertificate(): void;
|
|
45
47
|
}
|
|
46
48
|
|
|
@@ -53,6 +55,8 @@ export const HttpsConnectionAdapterOptions: {
|
|
|
53
55
|
export type HttpsConnectionAdapterOptions = HttpsConnectionAdapterOptions$instance;
|
|
54
56
|
|
|
55
57
|
export interface TlsHandshakeCallbackContext$instance {
|
|
58
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Server_Kestrel_Https_TlsHandshakeCallbackContext: never;
|
|
59
|
+
|
|
56
60
|
AllowDelayedClientCertificateNegotation: boolean;
|
|
57
61
|
CancellationToken: CancellationToken;
|
|
58
62
|
ClientHelloInfo: SslClientHelloInfo;
|
|
@@ -71,8 +75,10 @@ export const TlsHandshakeCallbackContext: {
|
|
|
71
75
|
export type TlsHandshakeCallbackContext = TlsHandshakeCallbackContext$instance;
|
|
72
76
|
|
|
73
77
|
export interface TlsHandshakeCallbackOptions$instance {
|
|
78
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Server_Kestrel_Https_TlsHandshakeCallbackOptions: never;
|
|
79
|
+
|
|
74
80
|
HandshakeTimeout: TimeSpan;
|
|
75
|
-
OnConnection:
|
|
81
|
+
OnConnection: Func_2<TlsHandshakeCallbackContext, ValueTask_1<SslServerAuthenticationOptions>>;
|
|
76
82
|
get OnConnectionState(): unknown | undefined;
|
|
77
83
|
set OnConnectionState(value: unknown | undefined);
|
|
78
84
|
}
|
|
@@ -7,11 +7,13 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
7
7
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
9
|
import type { NamedPipeEndPoint } from "../../Microsoft.AspNetCore.Connections/internal/index.js";
|
|
10
|
-
import type { NamedPipeServerStream, PipeOptions, PipeSecurity } from "@tsonic/dotnet/System.IO.Pipes.js";
|
|
11
|
-
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
12
|
-
import type { Boolean as ClrBoolean,
|
|
10
|
+
import type { NamedPipeServerStream, PipeOptions, PipeSecurity } from "@tsonic/dotnet/System.IO.Pipes/internal/index.js";
|
|
11
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
12
|
+
import type { Boolean as ClrBoolean, Func_2, Int32, Int64, Nullable_1, Object as ClrObject } from "@tsonic/dotnet/System/internal/index.js";
|
|
13
13
|
|
|
14
14
|
export interface CreateNamedPipeServerStreamContext$instance {
|
|
15
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Server_Kestrel_Transport_NamedPipes_CreateNamedPipeServerStreamContext: never;
|
|
16
|
+
|
|
15
17
|
NamedPipeEndPoint: NamedPipeEndPoint;
|
|
16
18
|
PipeOptions: PipeOptions;
|
|
17
19
|
get PipeSecurity(): PipeSecurity | undefined;
|
|
@@ -27,11 +29,13 @@ export const CreateNamedPipeServerStreamContext: {
|
|
|
27
29
|
export type CreateNamedPipeServerStreamContext = CreateNamedPipeServerStreamContext$instance;
|
|
28
30
|
|
|
29
31
|
export interface NamedPipeTransportOptions$instance {
|
|
30
|
-
|
|
32
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Server_Kestrel_Transport_NamedPipes_NamedPipeTransportOptions: never;
|
|
33
|
+
|
|
34
|
+
CreateNamedPipeServerStream: Func_2<CreateNamedPipeServerStreamContext, NamedPipeServerStream>;
|
|
31
35
|
CurrentUserOnly: boolean;
|
|
32
36
|
ListenerQueueCount: int;
|
|
33
|
-
MaxReadBufferSize:
|
|
34
|
-
MaxWriteBufferSize:
|
|
37
|
+
MaxReadBufferSize: Nullable_1<System_Internal.Int64>;
|
|
38
|
+
MaxWriteBufferSize: Nullable_1<System_Internal.Int64>;
|
|
35
39
|
get PipeSecurity(): PipeSecurity | undefined;
|
|
36
40
|
set PipeSecurity(value: PipeSecurity | undefined);
|
|
37
41
|
}
|
|
@@ -6,17 +6,19 @@
|
|
|
6
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';
|
|
7
7
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
|
-
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
10
|
-
import type { Int32, Int64,
|
|
9
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
10
|
+
import type { Int32, Int64, Nullable_1, Object as ClrObject } from "@tsonic/dotnet/System/internal/index.js";
|
|
11
11
|
|
|
12
12
|
export interface QuicTransportOptions$instance {
|
|
13
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Server_Kestrel_Transport_Quic_QuicTransportOptions: never;
|
|
14
|
+
|
|
13
15
|
Backlog: int;
|
|
14
16
|
DefaultCloseErrorCode: long;
|
|
15
17
|
DefaultStreamErrorCode: long;
|
|
16
18
|
MaxBidirectionalStreamCount: int;
|
|
17
|
-
MaxReadBufferSize:
|
|
19
|
+
MaxReadBufferSize: Nullable_1<System_Internal.Int64>;
|
|
18
20
|
MaxUnidirectionalStreamCount: int;
|
|
19
|
-
MaxWriteBufferSize:
|
|
21
|
+
MaxWriteBufferSize: Nullable_1<System_Internal.Int64>;
|
|
20
22
|
}
|
|
21
23
|
|
|
22
24
|
|
|
@@ -8,16 +8,20 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
9
|
import * as Microsoft_AspNetCore_Connections_Internal from "../../Microsoft.AspNetCore.Connections/internal/index.js";
|
|
10
10
|
import type { ConnectionContext, IConnectionListener, IConnectionListenerFactory, IConnectionListenerFactorySelector } from "../../Microsoft.AspNetCore.Connections/internal/index.js";
|
|
11
|
-
import
|
|
12
|
-
import type {
|
|
13
|
-
import type {
|
|
14
|
-
import type {
|
|
15
|
-
import
|
|
16
|
-
import type {
|
|
17
|
-
import type { ILogger, ILoggerFactory } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Logging.js";
|
|
18
|
-
import type {
|
|
11
|
+
import type { Socket } from "@tsonic/dotnet/System.Net.Sockets/internal/index.js";
|
|
12
|
+
import type { EndPoint } from "@tsonic/dotnet/System.Net/internal/index.js";
|
|
13
|
+
import type { ValueTask_1 } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
|
|
14
|
+
import type { CancellationToken } from "@tsonic/dotnet/System.Threading/internal/index.js";
|
|
15
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
16
|
+
import type { Boolean as ClrBoolean, Func_2, IDisposable, Int32, Int64, Nullable_1, Object as ClrObject, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
17
|
+
import type { ILogger, ILoggerFactory } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Logging/internal/index.js";
|
|
18
|
+
import type { IOptions_1 } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Options/internal/index.js";
|
|
19
19
|
|
|
20
20
|
export interface SocketConnectionContextFactory$instance {
|
|
21
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Server_Kestrel_Transport_Sockets_SocketConnectionContextFactory: never;
|
|
22
|
+
|
|
23
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
24
|
+
|
|
21
25
|
Create(socket: Socket): ConnectionContext;
|
|
22
26
|
Dispose(): void;
|
|
23
27
|
}
|
|
@@ -31,9 +35,11 @@ export const SocketConnectionContextFactory: {
|
|
|
31
35
|
export type SocketConnectionContextFactory = SocketConnectionContextFactory$instance;
|
|
32
36
|
|
|
33
37
|
export interface SocketConnectionFactoryOptions$instance {
|
|
38
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Server_Kestrel_Transport_Sockets_SocketConnectionFactoryOptions: never;
|
|
39
|
+
|
|
34
40
|
IOQueueCount: int;
|
|
35
|
-
MaxReadBufferSize:
|
|
36
|
-
MaxWriteBufferSize:
|
|
41
|
+
MaxReadBufferSize: Nullable_1<System_Internal.Int64>;
|
|
42
|
+
MaxWriteBufferSize: Nullable_1<System_Internal.Int64>;
|
|
37
43
|
UnsafePreferInlineScheduling: boolean;
|
|
38
44
|
WaitForDataBeforeAllocatingBuffer: boolean;
|
|
39
45
|
}
|
|
@@ -46,14 +52,19 @@ export const SocketConnectionFactoryOptions: {
|
|
|
46
52
|
|
|
47
53
|
export type SocketConnectionFactoryOptions = SocketConnectionFactoryOptions$instance;
|
|
48
54
|
|
|
49
|
-
export interface SocketTransportFactory$instance {
|
|
50
|
-
|
|
55
|
+
export interface SocketTransportFactory$instance extends Microsoft_AspNetCore_Connections_Internal.IConnectionListenerFactory$instance, Microsoft_AspNetCore_Connections_Internal.IConnectionListenerFactorySelector$instance {
|
|
56
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Server_Kestrel_Transport_Sockets_SocketTransportFactory: never;
|
|
57
|
+
|
|
58
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Connections_IConnectionListenerFactory: never;
|
|
59
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Connections_IConnectionListenerFactorySelector: never;
|
|
60
|
+
|
|
61
|
+
BindAsync(endpoint: EndPoint, cancellationToken?: CancellationToken): ValueTask_1<IConnectionListener>;
|
|
51
62
|
CanBind(endpoint: EndPoint): boolean;
|
|
52
63
|
}
|
|
53
64
|
|
|
54
65
|
|
|
55
66
|
export const SocketTransportFactory: {
|
|
56
|
-
new(options:
|
|
67
|
+
new(options: IOptions_1<SocketTransportOptions>, loggerFactory: ILoggerFactory): SocketTransportFactory;
|
|
57
68
|
};
|
|
58
69
|
|
|
59
70
|
|
|
@@ -62,17 +73,17 @@ export interface __SocketTransportFactory$views {
|
|
|
62
73
|
As_IConnectionListenerFactorySelector(): Microsoft_AspNetCore_Connections_Internal.IConnectionListenerFactorySelector$instance;
|
|
63
74
|
}
|
|
64
75
|
|
|
65
|
-
export interface SocketTransportFactory$instance extends Microsoft_AspNetCore_Connections_Internal.IConnectionListenerFactory$instance, Microsoft_AspNetCore_Connections_Internal.IConnectionListenerFactorySelector$instance {}
|
|
66
|
-
|
|
67
76
|
export type SocketTransportFactory = SocketTransportFactory$instance & __SocketTransportFactory$views;
|
|
68
77
|
|
|
69
78
|
|
|
70
79
|
export interface SocketTransportOptions$instance {
|
|
80
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Server_Kestrel_Transport_Sockets_SocketTransportOptions: never;
|
|
81
|
+
|
|
71
82
|
Backlog: int;
|
|
72
|
-
CreateBoundListenSocket:
|
|
83
|
+
CreateBoundListenSocket: Func_2<EndPoint, Socket>;
|
|
73
84
|
IOQueueCount: int;
|
|
74
|
-
MaxReadBufferSize:
|
|
75
|
-
MaxWriteBufferSize:
|
|
85
|
+
MaxReadBufferSize: Nullable_1<System_Internal.Int64>;
|
|
86
|
+
MaxWriteBufferSize: Nullable_1<System_Internal.Int64>;
|
|
76
87
|
NoDelay: boolean;
|
|
77
88
|
UnsafePreferInlineScheduling: boolean;
|
|
78
89
|
WaitForDataBeforeAllocatingBuffer: boolean;
|
|
@@ -15,26 +15,32 @@ import * as Microsoft_AspNetCore_Http_Features_Internal from "../../Microsoft.As
|
|
|
15
15
|
import type { ISessionFeature } from "../../Microsoft.AspNetCore.Http.Features/internal/index.js";
|
|
16
16
|
import * as Microsoft_AspNetCore_Http_Internal from "../../Microsoft.AspNetCore.Http/internal/index.js";
|
|
17
17
|
import type { HttpContext, ISession, RequestDelegate } from "../../Microsoft.AspNetCore.Http/internal/index.js";
|
|
18
|
-
import type {
|
|
19
|
-
import
|
|
20
|
-
import type {
|
|
21
|
-
import
|
|
22
|
-
import type {
|
|
23
|
-
import type { IDistributedCache } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Caching.Distributed.js";
|
|
24
|
-
import type { ILoggerFactory } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Logging.js";
|
|
25
|
-
import type {
|
|
18
|
+
import type { IEnumerable_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
19
|
+
import type { Task } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
|
|
20
|
+
import type { CancellationToken } from "@tsonic/dotnet/System.Threading/internal/index.js";
|
|
21
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
22
|
+
import type { Boolean as ClrBoolean, Byte, Func_1, Object as ClrObject, String as ClrString, TimeSpan, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
23
|
+
import type { IDistributedCache } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Caching.Distributed/internal/index.js";
|
|
24
|
+
import type { ILoggerFactory } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Logging/internal/index.js";
|
|
25
|
+
import type { IOptions_1 } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Options/internal/index.js";
|
|
26
26
|
|
|
27
27
|
export interface ISessionStore$instance {
|
|
28
|
-
|
|
28
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Session_ISessionStore: never;
|
|
29
|
+
|
|
30
|
+
Create(sessionKey: string, idleTimeout: TimeSpan, ioTimeout: TimeSpan, tryEstablishSession: Func_1<System_Internal.Boolean>, isNewSessionKey: boolean): ISession;
|
|
29
31
|
}
|
|
30
32
|
|
|
31
33
|
|
|
32
34
|
export type ISessionStore = ISessionStore$instance;
|
|
33
35
|
|
|
34
|
-
export interface DistributedSession$instance {
|
|
36
|
+
export interface DistributedSession$instance extends Microsoft_AspNetCore_Http_Internal.ISession$instance {
|
|
37
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Session_DistributedSession: never;
|
|
38
|
+
|
|
39
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Http_ISession: never;
|
|
40
|
+
|
|
35
41
|
readonly Id: string;
|
|
36
42
|
readonly IsAvailable: boolean;
|
|
37
|
-
readonly Keys:
|
|
43
|
+
readonly Keys: IEnumerable_1<System_Internal.String>;
|
|
38
44
|
Clear(): void;
|
|
39
45
|
CommitAsync(cancellationToken?: CancellationToken): Task;
|
|
40
46
|
LoadAsync(cancellationToken?: CancellationToken): Task;
|
|
@@ -45,7 +51,7 @@ export interface DistributedSession$instance {
|
|
|
45
51
|
|
|
46
52
|
|
|
47
53
|
export const DistributedSession: {
|
|
48
|
-
new(cache: IDistributedCache, sessionKey: string, idleTimeout: TimeSpan, ioTimeout: TimeSpan, tryEstablishSession:
|
|
54
|
+
new(cache: IDistributedCache, sessionKey: string, idleTimeout: TimeSpan, ioTimeout: TimeSpan, tryEstablishSession: Func_1<System_Internal.Boolean>, loggerFactory: ILoggerFactory, isNewSessionKey: boolean): DistributedSession;
|
|
49
55
|
};
|
|
50
56
|
|
|
51
57
|
|
|
@@ -53,13 +59,15 @@ export interface __DistributedSession$views {
|
|
|
53
59
|
As_ISession(): Microsoft_AspNetCore_Http_Internal.ISession$instance;
|
|
54
60
|
}
|
|
55
61
|
|
|
56
|
-
export interface DistributedSession$instance extends Microsoft_AspNetCore_Http_Internal.ISession$instance {}
|
|
57
|
-
|
|
58
62
|
export type DistributedSession = DistributedSession$instance & __DistributedSession$views;
|
|
59
63
|
|
|
60
64
|
|
|
61
|
-
export interface DistributedSessionStore$instance {
|
|
62
|
-
|
|
65
|
+
export interface DistributedSessionStore$instance extends ISessionStore$instance {
|
|
66
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Session_DistributedSessionStore: never;
|
|
67
|
+
|
|
68
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Session_ISessionStore: never;
|
|
69
|
+
|
|
70
|
+
Create(sessionKey: string, idleTimeout: TimeSpan, ioTimeout: TimeSpan, tryEstablishSession: Func_1<System_Internal.Boolean>, isNewSessionKey: boolean): ISession;
|
|
63
71
|
}
|
|
64
72
|
|
|
65
73
|
|
|
@@ -72,12 +80,14 @@ export interface __DistributedSessionStore$views {
|
|
|
72
80
|
As_ISessionStore(): ISessionStore$instance;
|
|
73
81
|
}
|
|
74
82
|
|
|
75
|
-
export interface DistributedSessionStore$instance extends ISessionStore$instance {}
|
|
76
|
-
|
|
77
83
|
export type DistributedSessionStore = DistributedSessionStore$instance & __DistributedSessionStore$views;
|
|
78
84
|
|
|
79
85
|
|
|
80
|
-
export interface SessionFeature$instance {
|
|
86
|
+
export interface SessionFeature$instance extends Microsoft_AspNetCore_Http_Features_Internal.ISessionFeature$instance {
|
|
87
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Session_SessionFeature: never;
|
|
88
|
+
|
|
89
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Features_ISessionFeature: never;
|
|
90
|
+
|
|
81
91
|
Session: ISession;
|
|
82
92
|
}
|
|
83
93
|
|
|
@@ -91,18 +101,18 @@ export interface __SessionFeature$views {
|
|
|
91
101
|
As_ISessionFeature(): Microsoft_AspNetCore_Http_Features_Internal.ISessionFeature$instance;
|
|
92
102
|
}
|
|
93
103
|
|
|
94
|
-
export interface SessionFeature$instance extends Microsoft_AspNetCore_Http_Features_Internal.ISessionFeature$instance {}
|
|
95
|
-
|
|
96
104
|
export type SessionFeature = SessionFeature$instance & __SessionFeature$views;
|
|
97
105
|
|
|
98
106
|
|
|
99
107
|
export interface SessionMiddleware$instance {
|
|
108
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Session_SessionMiddleware: never;
|
|
109
|
+
|
|
100
110
|
Invoke(context: HttpContext): Task;
|
|
101
111
|
}
|
|
102
112
|
|
|
103
113
|
|
|
104
114
|
export const SessionMiddleware: {
|
|
105
|
-
new(next: RequestDelegate, loggerFactory: ILoggerFactory, dataProtectionProvider: IDataProtectionProvider, sessionStore: ISessionStore, options:
|
|
115
|
+
new(next: RequestDelegate, loggerFactory: ILoggerFactory, dataProtectionProvider: IDataProtectionProvider, sessionStore: ISessionStore, options: IOptions_1<SessionOptions>): SessionMiddleware;
|
|
106
116
|
};
|
|
107
117
|
|
|
108
118
|
|