@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
|
@@ -6,11 +6,13 @@
|
|
|
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
|
|
10
|
-
import
|
|
11
|
-
import type {
|
|
9
|
+
import type { JsonSerializerOptions } from "@tsonic/dotnet/System.Text.Json/internal/index.js";
|
|
10
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
11
|
+
import type { Object as ClrObject } from "@tsonic/dotnet/System/internal/index.js";
|
|
12
12
|
|
|
13
13
|
export interface JsonOptions$instance {
|
|
14
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Http_Json_JsonOptions: never;
|
|
15
|
+
|
|
14
16
|
readonly SerializerOptions: JsonSerializerOptions;
|
|
15
17
|
}
|
|
16
18
|
|
|
@@ -7,13 +7,15 @@ 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 { EndpointBuilder } from "../../Microsoft.AspNetCore.Builder/internal/index.js";
|
|
10
|
-
import type {
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import type {
|
|
10
|
+
import type { IEnumerable_1, IReadOnlyList_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
11
|
+
import type { MethodInfo, ParameterInfo } from "@tsonic/dotnet/System.Reflection/internal/index.js";
|
|
12
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
13
|
+
import type { Boolean as ClrBoolean, Int32, Int64, Nullable_1, Object as ClrObject, String as ClrString, Type, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
14
14
|
|
|
15
15
|
export interface IAcceptsMetadata$instance {
|
|
16
|
-
readonly
|
|
16
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Metadata_IAcceptsMetadata: never;
|
|
17
|
+
|
|
18
|
+
readonly ContentTypes: IReadOnlyList_1<System_Internal.String>;
|
|
17
19
|
readonly RequestType: Type | undefined;
|
|
18
20
|
readonly IsOptional: boolean;
|
|
19
21
|
}
|
|
@@ -22,30 +24,40 @@ export interface IAcceptsMetadata$instance {
|
|
|
22
24
|
export type IAcceptsMetadata = IAcceptsMetadata$instance;
|
|
23
25
|
|
|
24
26
|
export interface IAllowCookieRedirectMetadata$instance {
|
|
27
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Metadata_IAllowCookieRedirectMetadata: never;
|
|
28
|
+
|
|
25
29
|
}
|
|
26
30
|
|
|
27
31
|
|
|
28
32
|
export type IAllowCookieRedirectMetadata = IAllowCookieRedirectMetadata$instance;
|
|
29
33
|
|
|
30
34
|
export interface IDisableCookieRedirectMetadata$instance {
|
|
35
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Metadata_IDisableCookieRedirectMetadata: never;
|
|
36
|
+
|
|
31
37
|
}
|
|
32
38
|
|
|
33
39
|
|
|
34
40
|
export type IDisableCookieRedirectMetadata = IDisableCookieRedirectMetadata$instance;
|
|
35
41
|
|
|
36
42
|
export interface IDisableHttpMetricsMetadata$instance {
|
|
43
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Metadata_IDisableHttpMetricsMetadata: never;
|
|
44
|
+
|
|
37
45
|
}
|
|
38
46
|
|
|
39
47
|
|
|
40
48
|
export type IDisableHttpMetricsMetadata = IDisableHttpMetricsMetadata$instance;
|
|
41
49
|
|
|
42
50
|
export interface IDisableValidationMetadata$instance {
|
|
51
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Metadata_IDisableValidationMetadata: never;
|
|
52
|
+
|
|
43
53
|
}
|
|
44
54
|
|
|
45
55
|
|
|
46
56
|
export type IDisableValidationMetadata = IDisableValidationMetadata$instance;
|
|
47
57
|
|
|
48
58
|
export interface IEndpointDescriptionMetadata$instance {
|
|
59
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Metadata_IEndpointDescriptionMetadata: never;
|
|
60
|
+
|
|
49
61
|
readonly Description: string;
|
|
50
62
|
}
|
|
51
63
|
|
|
@@ -53,18 +65,24 @@ export interface IEndpointDescriptionMetadata$instance {
|
|
|
53
65
|
export type IEndpointDescriptionMetadata = IEndpointDescriptionMetadata$instance;
|
|
54
66
|
|
|
55
67
|
export interface IEndpointMetadataProvider$instance {
|
|
68
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Metadata_IEndpointMetadataProvider: never;
|
|
69
|
+
|
|
56
70
|
}
|
|
57
71
|
|
|
58
72
|
|
|
59
73
|
export type IEndpointMetadataProvider = IEndpointMetadataProvider$instance;
|
|
60
74
|
|
|
61
75
|
export interface IEndpointParameterMetadataProvider$instance {
|
|
76
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Metadata_IEndpointParameterMetadataProvider: never;
|
|
77
|
+
|
|
62
78
|
}
|
|
63
79
|
|
|
64
80
|
|
|
65
81
|
export type IEndpointParameterMetadataProvider = IEndpointParameterMetadataProvider$instance;
|
|
66
82
|
|
|
67
83
|
export interface IEndpointSummaryMetadata$instance {
|
|
84
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Metadata_IEndpointSummaryMetadata: never;
|
|
85
|
+
|
|
68
86
|
readonly Summary: string;
|
|
69
87
|
}
|
|
70
88
|
|
|
@@ -72,22 +90,26 @@ export interface IEndpointSummaryMetadata$instance {
|
|
|
72
90
|
export type IEndpointSummaryMetadata = IEndpointSummaryMetadata$instance;
|
|
73
91
|
|
|
74
92
|
export interface IFormOptionsMetadata$instance {
|
|
75
|
-
readonly
|
|
76
|
-
|
|
77
|
-
readonly
|
|
78
|
-
readonly
|
|
79
|
-
readonly
|
|
80
|
-
readonly
|
|
81
|
-
readonly
|
|
82
|
-
readonly
|
|
83
|
-
readonly
|
|
84
|
-
readonly
|
|
93
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Metadata_IFormOptionsMetadata: never;
|
|
94
|
+
|
|
95
|
+
readonly BufferBody: Nullable_1<System_Internal.Boolean>;
|
|
96
|
+
readonly MemoryBufferThreshold: Nullable_1<System_Internal.Int32>;
|
|
97
|
+
readonly BufferBodyLengthLimit: Nullable_1<System_Internal.Int64>;
|
|
98
|
+
readonly ValueCountLimit: Nullable_1<System_Internal.Int32>;
|
|
99
|
+
readonly KeyLengthLimit: Nullable_1<System_Internal.Int32>;
|
|
100
|
+
readonly ValueLengthLimit: Nullable_1<System_Internal.Int32>;
|
|
101
|
+
readonly MultipartBoundaryLengthLimit: Nullable_1<System_Internal.Int32>;
|
|
102
|
+
readonly MultipartHeadersCountLimit: Nullable_1<System_Internal.Int32>;
|
|
103
|
+
readonly MultipartHeadersLengthLimit: Nullable_1<System_Internal.Int32>;
|
|
104
|
+
readonly MultipartBodyLengthLimit: Nullable_1<System_Internal.Int64>;
|
|
85
105
|
}
|
|
86
106
|
|
|
87
107
|
|
|
88
108
|
export type IFormOptionsMetadata = IFormOptionsMetadata$instance;
|
|
89
109
|
|
|
90
110
|
export interface IFromBodyMetadata$instance {
|
|
111
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Metadata_IFromBodyMetadata: never;
|
|
112
|
+
|
|
91
113
|
readonly AllowEmpty: boolean;
|
|
92
114
|
}
|
|
93
115
|
|
|
@@ -95,6 +117,8 @@ export interface IFromBodyMetadata$instance {
|
|
|
95
117
|
export type IFromBodyMetadata = IFromBodyMetadata$instance;
|
|
96
118
|
|
|
97
119
|
export interface IFromFormMetadata$instance {
|
|
120
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Metadata_IFromFormMetadata: never;
|
|
121
|
+
|
|
98
122
|
readonly Name: string | undefined;
|
|
99
123
|
}
|
|
100
124
|
|
|
@@ -102,6 +126,8 @@ export interface IFromFormMetadata$instance {
|
|
|
102
126
|
export type IFromFormMetadata = IFromFormMetadata$instance;
|
|
103
127
|
|
|
104
128
|
export interface IFromHeaderMetadata$instance {
|
|
129
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Metadata_IFromHeaderMetadata: never;
|
|
130
|
+
|
|
105
131
|
readonly Name: string | undefined;
|
|
106
132
|
}
|
|
107
133
|
|
|
@@ -109,6 +135,8 @@ export interface IFromHeaderMetadata$instance {
|
|
|
109
135
|
export type IFromHeaderMetadata = IFromHeaderMetadata$instance;
|
|
110
136
|
|
|
111
137
|
export interface IFromQueryMetadata$instance {
|
|
138
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Metadata_IFromQueryMetadata: never;
|
|
139
|
+
|
|
112
140
|
readonly Name: string | undefined;
|
|
113
141
|
}
|
|
114
142
|
|
|
@@ -116,6 +144,8 @@ export interface IFromQueryMetadata$instance {
|
|
|
116
144
|
export type IFromQueryMetadata = IFromQueryMetadata$instance;
|
|
117
145
|
|
|
118
146
|
export interface IFromRouteMetadata$instance {
|
|
147
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Metadata_IFromRouteMetadata: never;
|
|
148
|
+
|
|
119
149
|
readonly Name: string | undefined;
|
|
120
150
|
}
|
|
121
151
|
|
|
@@ -123,12 +153,16 @@ export interface IFromRouteMetadata$instance {
|
|
|
123
153
|
export type IFromRouteMetadata = IFromRouteMetadata$instance;
|
|
124
154
|
|
|
125
155
|
export interface IFromServiceMetadata$instance {
|
|
156
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Metadata_IFromServiceMetadata: never;
|
|
157
|
+
|
|
126
158
|
}
|
|
127
159
|
|
|
128
160
|
|
|
129
161
|
export type IFromServiceMetadata = IFromServiceMetadata$instance;
|
|
130
162
|
|
|
131
163
|
export interface IParameterBindingMetadata$instance {
|
|
164
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Metadata_IParameterBindingMetadata: never;
|
|
165
|
+
|
|
132
166
|
readonly Name: string;
|
|
133
167
|
readonly HasTryParse: boolean;
|
|
134
168
|
readonly HasBindAsync: boolean;
|
|
@@ -140,23 +174,29 @@ export interface IParameterBindingMetadata$instance {
|
|
|
140
174
|
export type IParameterBindingMetadata = IParameterBindingMetadata$instance;
|
|
141
175
|
|
|
142
176
|
export interface IProducesResponseTypeMetadata$instance {
|
|
177
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Metadata_IProducesResponseTypeMetadata: never;
|
|
178
|
+
|
|
143
179
|
readonly Type: Type | undefined;
|
|
144
180
|
readonly StatusCode: int;
|
|
145
181
|
readonly Description: string | undefined;
|
|
146
|
-
readonly ContentTypes:
|
|
182
|
+
readonly ContentTypes: IEnumerable_1<System_Internal.String>;
|
|
147
183
|
}
|
|
148
184
|
|
|
149
185
|
|
|
150
186
|
export type IProducesResponseTypeMetadata = IProducesResponseTypeMetadata$instance;
|
|
151
187
|
|
|
152
188
|
export interface IRequestSizeLimitMetadata$instance {
|
|
153
|
-
readonly
|
|
189
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Metadata_IRequestSizeLimitMetadata: never;
|
|
190
|
+
|
|
191
|
+
readonly MaxRequestBodySize: Nullable_1<System_Internal.Int64>;
|
|
154
192
|
}
|
|
155
193
|
|
|
156
194
|
|
|
157
195
|
export type IRequestSizeLimitMetadata = IRequestSizeLimitMetadata$instance;
|
|
158
196
|
|
|
159
197
|
export interface IRouteDiagnosticsMetadata$instance {
|
|
198
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Metadata_IRouteDiagnosticsMetadata: never;
|
|
199
|
+
|
|
160
200
|
readonly Route: string;
|
|
161
201
|
}
|
|
162
202
|
|
|
@@ -164,20 +204,28 @@ export interface IRouteDiagnosticsMetadata$instance {
|
|
|
164
204
|
export type IRouteDiagnosticsMetadata = IRouteDiagnosticsMetadata$instance;
|
|
165
205
|
|
|
166
206
|
export interface ISkipStatusCodePagesMetadata$instance {
|
|
207
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Metadata_ISkipStatusCodePagesMetadata: never;
|
|
208
|
+
|
|
167
209
|
}
|
|
168
210
|
|
|
169
211
|
|
|
170
212
|
export type ISkipStatusCodePagesMetadata = ISkipStatusCodePagesMetadata$instance;
|
|
171
213
|
|
|
172
214
|
export interface ITagsMetadata$instance {
|
|
173
|
-
readonly
|
|
215
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Metadata_ITagsMetadata: never;
|
|
216
|
+
|
|
217
|
+
readonly Tags: IReadOnlyList_1<System_Internal.String>;
|
|
174
218
|
}
|
|
175
219
|
|
|
176
220
|
|
|
177
221
|
export type ITagsMetadata = ITagsMetadata$instance;
|
|
178
222
|
|
|
179
|
-
export interface AcceptsMetadata$instance {
|
|
180
|
-
readonly
|
|
223
|
+
export interface AcceptsMetadata$instance extends IAcceptsMetadata$instance {
|
|
224
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Http_Metadata_AcceptsMetadata: never;
|
|
225
|
+
|
|
226
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Metadata_IAcceptsMetadata: never;
|
|
227
|
+
|
|
228
|
+
readonly ContentTypes: IReadOnlyList_1<System_Internal.String>;
|
|
181
229
|
readonly IsOptional: boolean;
|
|
182
230
|
readonly RequestType: Type | undefined;
|
|
183
231
|
ToString(): string;
|
|
@@ -193,20 +241,20 @@ export interface __AcceptsMetadata$views {
|
|
|
193
241
|
As_IAcceptsMetadata(): IAcceptsMetadata$instance;
|
|
194
242
|
}
|
|
195
243
|
|
|
196
|
-
export interface AcceptsMetadata$instance extends IAcceptsMetadata$instance {}
|
|
197
|
-
|
|
198
244
|
export type AcceptsMetadata = AcceptsMetadata$instance & __AcceptsMetadata$views;
|
|
199
245
|
|
|
200
246
|
|
|
201
247
|
export interface FormMappingOptionsMetadata$instance {
|
|
202
|
-
readonly
|
|
203
|
-
|
|
204
|
-
readonly
|
|
248
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Http_Metadata_FormMappingOptionsMetadata: never;
|
|
249
|
+
|
|
250
|
+
readonly MaxCollectionSize: Nullable_1<System_Internal.Int32>;
|
|
251
|
+
readonly MaxKeySize: Nullable_1<System_Internal.Int32>;
|
|
252
|
+
readonly MaxRecursionDepth: Nullable_1<System_Internal.Int32>;
|
|
205
253
|
}
|
|
206
254
|
|
|
207
255
|
|
|
208
256
|
export const FormMappingOptionsMetadata: {
|
|
209
|
-
new(maxCollectionSize:
|
|
257
|
+
new(maxCollectionSize: Nullable_1<System_Internal.Int32>, maxRecursionDepth: Nullable_1<System_Internal.Int32>, maxKeySize: Nullable_1<System_Internal.Int32>): FormMappingOptionsMetadata;
|
|
210
258
|
};
|
|
211
259
|
|
|
212
260
|
|
|
@@ -7,12 +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 { RequestDelegate } from "../../Microsoft.AspNetCore.Http/internal/index.js";
|
|
10
|
-
import type {
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import type {
|
|
10
|
+
import type { IDictionary_2 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
11
|
+
import type { CancellationToken } from "@tsonic/dotnet/System.Threading/internal/index.js";
|
|
12
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
13
|
+
import type { Attribute, Int32, Nullable_1, Object as ClrObject, String as ClrString, TimeSpan, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
14
14
|
|
|
15
15
|
export interface IHttpRequestTimeoutFeature$instance {
|
|
16
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Timeouts_IHttpRequestTimeoutFeature: never;
|
|
17
|
+
|
|
16
18
|
readonly RequestTimeoutToken: CancellationToken;
|
|
17
19
|
DisableTimeout(): void;
|
|
18
20
|
}
|
|
@@ -21,6 +23,8 @@ export interface IHttpRequestTimeoutFeature$instance {
|
|
|
21
23
|
export type IHttpRequestTimeoutFeature = IHttpRequestTimeoutFeature$instance;
|
|
22
24
|
|
|
23
25
|
export interface DisableRequestTimeoutAttribute$instance extends Attribute {
|
|
26
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Http_Timeouts_DisableRequestTimeoutAttribute: never;
|
|
27
|
+
|
|
24
28
|
ToString(): string;
|
|
25
29
|
}
|
|
26
30
|
|
|
@@ -33,8 +37,10 @@ export const DisableRequestTimeoutAttribute: {
|
|
|
33
37
|
export type DisableRequestTimeoutAttribute = DisableRequestTimeoutAttribute$instance;
|
|
34
38
|
|
|
35
39
|
export interface RequestTimeoutAttribute$instance extends Attribute {
|
|
40
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Http_Timeouts_RequestTimeoutAttribute: never;
|
|
41
|
+
|
|
36
42
|
readonly PolicyName: string | undefined;
|
|
37
|
-
readonly Timeout:
|
|
43
|
+
readonly Timeout: Nullable_1<TimeSpan>;
|
|
38
44
|
}
|
|
39
45
|
|
|
40
46
|
|
|
@@ -47,9 +53,11 @@ export const RequestTimeoutAttribute: {
|
|
|
47
53
|
export type RequestTimeoutAttribute = RequestTimeoutAttribute$instance;
|
|
48
54
|
|
|
49
55
|
export interface RequestTimeoutOptions$instance {
|
|
56
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Http_Timeouts_RequestTimeoutOptions: never;
|
|
57
|
+
|
|
50
58
|
get DefaultPolicy(): RequestTimeoutPolicy | undefined;
|
|
51
59
|
set DefaultPolicy(value: RequestTimeoutPolicy | undefined);
|
|
52
|
-
readonly Policies:
|
|
60
|
+
readonly Policies: IDictionary_2<System_Internal.String, RequestTimeoutPolicy>;
|
|
53
61
|
AddPolicy(policyName: string, timeout: TimeSpan): RequestTimeoutOptions;
|
|
54
62
|
AddPolicy(policyName: string, policy: RequestTimeoutPolicy): RequestTimeoutOptions;
|
|
55
63
|
}
|
|
@@ -63,8 +71,10 @@ export const RequestTimeoutOptions: {
|
|
|
63
71
|
export type RequestTimeoutOptions = RequestTimeoutOptions$instance;
|
|
64
72
|
|
|
65
73
|
export interface RequestTimeoutPolicy$instance {
|
|
66
|
-
|
|
67
|
-
|
|
74
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Http_Timeouts_RequestTimeoutPolicy: never;
|
|
75
|
+
|
|
76
|
+
Timeout: Nullable_1<TimeSpan>;
|
|
77
|
+
TimeoutStatusCode: Nullable_1<System_Internal.Int32>;
|
|
68
78
|
get WriteTimeoutResponse(): RequestDelegate | undefined;
|
|
69
79
|
set WriteTimeoutResponse(value: RequestDelegate | undefined);
|
|
70
80
|
}
|
|
@@ -8,11 +8,11 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
9
|
import type { HttpContext } from "../../Microsoft.AspNetCore.Http/internal/index.js";
|
|
10
10
|
import type { MediaTypeHeaderValue } from "../../Microsoft.Net.Http.Headers/internal/index.js";
|
|
11
|
-
import type {
|
|
12
|
-
import
|
|
13
|
-
import type {
|
|
14
|
-
import
|
|
15
|
-
import type {
|
|
11
|
+
import type { IList_1, ISet_1, KeyValuePair_2 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
12
|
+
import type { Encoding } from "@tsonic/dotnet/System.Text/internal/index.js";
|
|
13
|
+
import type { ValueTask } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
|
|
14
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
15
|
+
import type { Attribute, Boolean as ClrBoolean, Enum, IComparable, IConvertible, IFormattable, Int32, Int64, ISpanFormattable, Nullable_1, Object as ClrObject, String as ClrString, TimeSpan, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
16
16
|
|
|
17
17
|
export enum HttpLoggingFields {
|
|
18
18
|
None = 0,
|
|
@@ -65,6 +65,8 @@ export enum W3CLoggingFields {
|
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
export interface IHttpLoggingInterceptor$instance {
|
|
68
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_HttpLogging_IHttpLoggingInterceptor: never;
|
|
69
|
+
|
|
68
70
|
OnRequestAsync(logContext: HttpLoggingInterceptorContext): ValueTask;
|
|
69
71
|
}
|
|
70
72
|
|
|
@@ -72,6 +74,8 @@ export interface IHttpLoggingInterceptor$instance {
|
|
|
72
74
|
export type IHttpLoggingInterceptor = IHttpLoggingInterceptor$instance;
|
|
73
75
|
|
|
74
76
|
export interface HttpLoggingAttribute$instance extends Attribute {
|
|
77
|
+
readonly __tsonic_type_Microsoft_AspNetCore_HttpLogging_HttpLoggingAttribute: never;
|
|
78
|
+
|
|
75
79
|
IsRequestBodyLogLimitSet: boolean;
|
|
76
80
|
IsResponseBodyLogLimitSet: boolean;
|
|
77
81
|
readonly LoggingFields: HttpLoggingFields;
|
|
@@ -88,9 +92,11 @@ export const HttpLoggingAttribute: {
|
|
|
88
92
|
export type HttpLoggingAttribute = HttpLoggingAttribute$instance;
|
|
89
93
|
|
|
90
94
|
export interface HttpLoggingInterceptorContext$instance {
|
|
95
|
+
readonly __tsonic_type_Microsoft_AspNetCore_HttpLogging_HttpLoggingInterceptorContext: never;
|
|
96
|
+
|
|
91
97
|
HttpContext: HttpContext;
|
|
92
98
|
LoggingFields: HttpLoggingFields;
|
|
93
|
-
readonly Parameters:
|
|
99
|
+
readonly Parameters: IList_1<KeyValuePair_2<System_Internal.String, unknown>>;
|
|
94
100
|
RequestBodyLogLimit: int;
|
|
95
101
|
ResponseBodyLogLimit: int;
|
|
96
102
|
AddParameter(key: string, value: unknown): void;
|
|
@@ -109,13 +115,15 @@ export const HttpLoggingInterceptorContext: {
|
|
|
109
115
|
export type HttpLoggingInterceptorContext = HttpLoggingInterceptorContext$instance;
|
|
110
116
|
|
|
111
117
|
export interface HttpLoggingOptions$instance {
|
|
118
|
+
readonly __tsonic_type_Microsoft_AspNetCore_HttpLogging_HttpLoggingOptions: never;
|
|
119
|
+
|
|
112
120
|
CombineLogs: boolean;
|
|
113
121
|
LoggingFields: HttpLoggingFields;
|
|
114
122
|
readonly MediaTypeOptions: MediaTypeOptions;
|
|
115
123
|
RequestBodyLogLimit: int;
|
|
116
|
-
readonly RequestHeaders:
|
|
124
|
+
readonly RequestHeaders: ISet_1<System_Internal.String>;
|
|
117
125
|
ResponseBodyLogLimit: int;
|
|
118
|
-
readonly ResponseHeaders:
|
|
126
|
+
readonly ResponseHeaders: ISet_1<System_Internal.String>;
|
|
119
127
|
}
|
|
120
128
|
|
|
121
129
|
|
|
@@ -127,6 +135,8 @@ export const HttpLoggingOptions: {
|
|
|
127
135
|
export type HttpLoggingOptions = HttpLoggingOptions$instance;
|
|
128
136
|
|
|
129
137
|
export interface MediaTypeOptions$instance {
|
|
138
|
+
readonly __tsonic_type_Microsoft_AspNetCore_HttpLogging_MediaTypeOptions: never;
|
|
139
|
+
|
|
130
140
|
AddBinary(mediaType: MediaTypeHeaderValue): void;
|
|
131
141
|
AddBinary(contentType: string): void;
|
|
132
142
|
AddText(contentType: string): void;
|
|
@@ -142,13 +152,15 @@ export const MediaTypeOptions: {
|
|
|
142
152
|
export type MediaTypeOptions = MediaTypeOptions$instance;
|
|
143
153
|
|
|
144
154
|
export interface W3CLoggerOptions$instance {
|
|
145
|
-
readonly
|
|
155
|
+
readonly __tsonic_type_Microsoft_AspNetCore_HttpLogging_W3CLoggerOptions: never;
|
|
156
|
+
|
|
157
|
+
readonly AdditionalRequestHeaders: ISet_1<System_Internal.String>;
|
|
146
158
|
FileName: string;
|
|
147
|
-
FileSizeLimit:
|
|
159
|
+
FileSizeLimit: Nullable_1<System_Internal.Int32>;
|
|
148
160
|
FlushInterval: TimeSpan;
|
|
149
161
|
LogDirectory: string;
|
|
150
162
|
LoggingFields: W3CLoggingFields;
|
|
151
|
-
RetainedFileCountLimit:
|
|
163
|
+
RetainedFileCountLimit: Nullable_1<System_Internal.Int32>;
|
|
152
164
|
}
|
|
153
165
|
|
|
154
166
|
|
|
@@ -11,13 +11,13 @@ import type { ptr } from "@tsonic/core/types.js";
|
|
|
11
11
|
// Import types from other namespaces
|
|
12
12
|
import type { ForwardedHeadersOptions, HttpMethodOverrideOptions } from "../../Microsoft.AspNetCore.Builder/internal/index.js";
|
|
13
13
|
import type { HttpContext, RequestDelegate } from "../../Microsoft.AspNetCore.Http/internal/index.js";
|
|
14
|
-
import
|
|
15
|
-
import type {
|
|
16
|
-
import type {
|
|
17
|
-
import
|
|
18
|
-
import type {
|
|
19
|
-
import type { ILoggerFactory } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Logging.js";
|
|
20
|
-
import type {
|
|
14
|
+
import type { IPAddress } from "@tsonic/dotnet/System.Net/internal/index.js";
|
|
15
|
+
import type { X509Certificate2 } from "@tsonic/dotnet/System.Security.Cryptography.X509Certificates/internal/index.js";
|
|
16
|
+
import type { Task } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
|
|
17
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
18
|
+
import type { Boolean as ClrBoolean, Char, Enum, Func_2, IComparable, IConvertible, IFormattable, Int32, ISpanFormattable, Object as ClrObject, ReadOnlySpan_1, String as ClrString, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
19
|
+
import type { ILoggerFactory } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Logging/internal/index.js";
|
|
20
|
+
import type { IOptions_1 } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Options/internal/index.js";
|
|
21
21
|
|
|
22
22
|
export enum ForwardedHeaders {
|
|
23
23
|
None = 0,
|
|
@@ -30,19 +30,23 @@ export enum ForwardedHeaders {
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
export interface CertificateForwardingMiddleware$instance {
|
|
33
|
+
readonly __tsonic_type_Microsoft_AspNetCore_HttpOverrides_CertificateForwardingMiddleware: never;
|
|
34
|
+
|
|
33
35
|
Invoke(httpContext: HttpContext): Task;
|
|
34
36
|
}
|
|
35
37
|
|
|
36
38
|
|
|
37
39
|
export const CertificateForwardingMiddleware: {
|
|
38
|
-
new(next: RequestDelegate, loggerFactory: ILoggerFactory, options:
|
|
40
|
+
new(next: RequestDelegate, loggerFactory: ILoggerFactory, options: IOptions_1<CertificateForwardingOptions>): CertificateForwardingMiddleware;
|
|
39
41
|
};
|
|
40
42
|
|
|
41
43
|
|
|
42
44
|
export type CertificateForwardingMiddleware = CertificateForwardingMiddleware$instance;
|
|
43
45
|
|
|
44
46
|
export interface CertificateForwardingOptions$instance {
|
|
45
|
-
|
|
47
|
+
readonly __tsonic_type_Microsoft_AspNetCore_HttpOverrides_CertificateForwardingOptions: never;
|
|
48
|
+
|
|
49
|
+
HeaderConverter: Func_2<System_Internal.String, X509Certificate2>;
|
|
46
50
|
CertificateHeader: string;
|
|
47
51
|
}
|
|
48
52
|
|
|
@@ -55,31 +59,37 @@ export const CertificateForwardingOptions: {
|
|
|
55
59
|
export type CertificateForwardingOptions = CertificateForwardingOptions$instance;
|
|
56
60
|
|
|
57
61
|
export interface ForwardedHeadersMiddleware$instance {
|
|
62
|
+
readonly __tsonic_type_Microsoft_AspNetCore_HttpOverrides_ForwardedHeadersMiddleware: never;
|
|
63
|
+
|
|
58
64
|
ApplyForwarders(context: HttpContext): void;
|
|
59
65
|
Invoke(context: HttpContext): Task;
|
|
60
66
|
}
|
|
61
67
|
|
|
62
68
|
|
|
63
69
|
export const ForwardedHeadersMiddleware: {
|
|
64
|
-
new(next: RequestDelegate, loggerFactory: ILoggerFactory, options:
|
|
70
|
+
new(next: RequestDelegate, loggerFactory: ILoggerFactory, options: IOptions_1<ForwardedHeadersOptions>): ForwardedHeadersMiddleware;
|
|
65
71
|
};
|
|
66
72
|
|
|
67
73
|
|
|
68
74
|
export type ForwardedHeadersMiddleware = ForwardedHeadersMiddleware$instance;
|
|
69
75
|
|
|
70
76
|
export interface HttpMethodOverrideMiddleware$instance {
|
|
77
|
+
readonly __tsonic_type_Microsoft_AspNetCore_HttpOverrides_HttpMethodOverrideMiddleware: never;
|
|
78
|
+
|
|
71
79
|
Invoke(context: HttpContext): Task;
|
|
72
80
|
}
|
|
73
81
|
|
|
74
82
|
|
|
75
83
|
export const HttpMethodOverrideMiddleware: {
|
|
76
|
-
new(next: RequestDelegate, options:
|
|
84
|
+
new(next: RequestDelegate, options: IOptions_1<HttpMethodOverrideOptions>): HttpMethodOverrideMiddleware;
|
|
77
85
|
};
|
|
78
86
|
|
|
79
87
|
|
|
80
88
|
export type HttpMethodOverrideMiddleware = HttpMethodOverrideMiddleware$instance;
|
|
81
89
|
|
|
82
90
|
export interface IPNetwork$instance {
|
|
91
|
+
readonly __tsonic_type_Microsoft_AspNetCore_HttpOverrides_IPNetwork: never;
|
|
92
|
+
|
|
83
93
|
readonly Prefix: IPAddress;
|
|
84
94
|
readonly PrefixLength: int;
|
|
85
95
|
Contains(address: IPAddress): boolean;
|
|
@@ -88,8 +98,8 @@ export interface IPNetwork$instance {
|
|
|
88
98
|
|
|
89
99
|
export const IPNetwork: {
|
|
90
100
|
new(prefix: IPAddress, prefixLength: int): IPNetwork;
|
|
91
|
-
Parse(networkSpan:
|
|
92
|
-
TryParse(networkSpan:
|
|
101
|
+
Parse(networkSpan: ReadOnlySpan_1<System_Internal.Char>): IPNetwork;
|
|
102
|
+
TryParse(networkSpan: ReadOnlySpan_1<System_Internal.Char>, network: IPNetwork): boolean;
|
|
93
103
|
};
|
|
94
104
|
|
|
95
105
|
|
|
@@ -8,29 +8,33 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
9
|
import type { IServerAddressesFeature } from "../../Microsoft.AspNetCore.Hosting.Server.Features/internal/index.js";
|
|
10
10
|
import type { HttpContext, RequestDelegate } from "../../Microsoft.AspNetCore.Http/internal/index.js";
|
|
11
|
-
import type {
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import type {
|
|
15
|
-
import type { IConfiguration } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Configuration.js";
|
|
16
|
-
import type { ILoggerFactory } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Logging.js";
|
|
17
|
-
import type {
|
|
11
|
+
import type { IList_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
12
|
+
import type { Task } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
|
|
13
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
14
|
+
import type { Boolean as ClrBoolean, Int32, Nullable_1, Object as ClrObject, String as ClrString, TimeSpan } from "@tsonic/dotnet/System/internal/index.js";
|
|
15
|
+
import type { IConfiguration } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Configuration/internal/index.js";
|
|
16
|
+
import type { ILoggerFactory } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Logging/internal/index.js";
|
|
17
|
+
import type { IOptions_1 } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Options/internal/index.js";
|
|
18
18
|
|
|
19
19
|
export interface HstsMiddleware$instance {
|
|
20
|
+
readonly __tsonic_type_Microsoft_AspNetCore_HttpsPolicy_HstsMiddleware: never;
|
|
21
|
+
|
|
20
22
|
Invoke(context: HttpContext): Task;
|
|
21
23
|
}
|
|
22
24
|
|
|
23
25
|
|
|
24
26
|
export const HstsMiddleware: {
|
|
25
|
-
new(next: RequestDelegate, options:
|
|
26
|
-
new(next: RequestDelegate, options:
|
|
27
|
+
new(next: RequestDelegate, options: IOptions_1<HstsOptions>, loggerFactory: ILoggerFactory): HstsMiddleware;
|
|
28
|
+
new(next: RequestDelegate, options: IOptions_1<HstsOptions>): HstsMiddleware;
|
|
27
29
|
};
|
|
28
30
|
|
|
29
31
|
|
|
30
32
|
export type HstsMiddleware = HstsMiddleware$instance;
|
|
31
33
|
|
|
32
34
|
export interface HstsOptions$instance {
|
|
33
|
-
readonly
|
|
35
|
+
readonly __tsonic_type_Microsoft_AspNetCore_HttpsPolicy_HstsOptions: never;
|
|
36
|
+
|
|
37
|
+
readonly ExcludedHosts: IList_1<System_Internal.String>;
|
|
34
38
|
IncludeSubDomains: boolean;
|
|
35
39
|
MaxAge: TimeSpan;
|
|
36
40
|
Preload: boolean;
|
|
@@ -45,20 +49,24 @@ export const HstsOptions: {
|
|
|
45
49
|
export type HstsOptions = HstsOptions$instance;
|
|
46
50
|
|
|
47
51
|
export interface HttpsRedirectionMiddleware$instance {
|
|
52
|
+
readonly __tsonic_type_Microsoft_AspNetCore_HttpsPolicy_HttpsRedirectionMiddleware: never;
|
|
53
|
+
|
|
48
54
|
Invoke(context: HttpContext): Task;
|
|
49
55
|
}
|
|
50
56
|
|
|
51
57
|
|
|
52
58
|
export const HttpsRedirectionMiddleware: {
|
|
53
|
-
new(next: RequestDelegate, options:
|
|
54
|
-
new(next: RequestDelegate, options:
|
|
59
|
+
new(next: RequestDelegate, options: IOptions_1<HttpsRedirectionOptions>, config: IConfiguration, loggerFactory: ILoggerFactory): HttpsRedirectionMiddleware;
|
|
60
|
+
new(next: RequestDelegate, options: IOptions_1<HttpsRedirectionOptions>, config: IConfiguration, loggerFactory: ILoggerFactory, serverAddressesFeature: IServerAddressesFeature): HttpsRedirectionMiddleware;
|
|
55
61
|
};
|
|
56
62
|
|
|
57
63
|
|
|
58
64
|
export type HttpsRedirectionMiddleware = HttpsRedirectionMiddleware$instance;
|
|
59
65
|
|
|
60
66
|
export interface HttpsRedirectionOptions$instance {
|
|
61
|
-
|
|
67
|
+
readonly __tsonic_type_Microsoft_AspNetCore_HttpsPolicy_HttpsRedirectionOptions: never;
|
|
68
|
+
|
|
69
|
+
HttpsPort: Nullable_1<System_Internal.Int32>;
|
|
62
70
|
RedirectStatusCode: int;
|
|
63
71
|
}
|
|
64
72
|
|