@tsonic/aspnetcore 10.0.40 → 10.0.41
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 +3 -2
- package/Microsoft.AspNetCore.Antiforgery/internal/index.d.ts +11 -10
- package/Microsoft.AspNetCore.Authentication/internal/index.d.ts +175 -172
- package/Microsoft.AspNetCore.Authentication.BearerToken/internal/index.d.ts +6 -5
- package/Microsoft.AspNetCore.Authentication.Cookies/internal/index.d.ts +22 -21
- package/Microsoft.AspNetCore.Authentication.OAuth/internal/index.d.ts +23 -22
- package/Microsoft.AspNetCore.Authentication.OAuth.Claims/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Authentication.d.ts +2 -0
- package/Microsoft.AspNetCore.Authorization/internal/index.d.ts +36 -35
- package/Microsoft.AspNetCore.Authorization.Infrastructure/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Authorization.Policy/internal/index.d.ts +8 -7
- package/Microsoft.AspNetCore.Builder/internal/index.d.ts +78 -77
- package/Microsoft.AspNetCore.Builder.Extensions/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Components/bindings.json +4 -1
- package/Microsoft.AspNetCore.Components/internal/index.d.ts +226 -228
- package/Microsoft.AspNetCore.Components.Authorization/internal/index.d.ts +26 -25
- package/Microsoft.AspNetCore.Components.CompilerServices/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Components.Endpoints/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Endpoints.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Forms/internal/index.d.ts +73 -75
- package/Microsoft.AspNetCore.Components.Forms.Mapping/internal/index.d.ts +14 -13
- package/Microsoft.AspNetCore.Components.HtmlRendering.Infrastructure/internal/index.d.ts +2 -4
- package/Microsoft.AspNetCore.Components.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.RenderTree/internal/index.d.ts +15 -17
- package/Microsoft.AspNetCore.Components.Rendering/internal/index.d.ts +20 -19
- package/Microsoft.AspNetCore.Components.Routing/internal/index.d.ts +24 -23
- package/Microsoft.AspNetCore.Components.Sections/internal/index.d.ts +13 -12
- package/Microsoft.AspNetCore.Components.Server/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Components.Server.Circuits/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage/internal/index.d.ts +6 -5
- package/Microsoft.AspNetCore.Components.Web/internal/index.d.ts +37 -36
- package/Microsoft.AspNetCore.Components.Web.HtmlRendering/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Web.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Web.Internal/internal/index.d.ts +3 -5
- package/Microsoft.AspNetCore.Components.Web.Virtualization/internal/index.d.ts +15 -14
- package/Microsoft.AspNetCore.Components.d.ts +1 -1
- package/Microsoft.AspNetCore.Connections/internal/index.d.ts +31 -30
- package/Microsoft.AspNetCore.Connections.Abstractions/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Connections.Features/internal/index.d.ts +15 -14
- package/Microsoft.AspNetCore.CookiePolicy/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Cors/internal/index.d.ts +6 -5
- package/Microsoft.AspNetCore.Cors.Infrastructure/internal/index.d.ts +11 -10
- package/Microsoft.AspNetCore.Cryptography.KeyDerivation/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.DataProtection/internal/index.d.ts +5 -7
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption/internal/index.d.ts +8 -7
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.DataProtection.Infrastructure/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.DataProtection.Internal/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.DataProtection.KeyManagement/internal/index.d.ts +16 -15
- package/Microsoft.AspNetCore.DataProtection.KeyManagement.Internal/internal/index.d.ts +7 -9
- package/Microsoft.AspNetCore.DataProtection.Repositories/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.DataProtection.XmlEncryption/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Diagnostics/internal/index.d.ts +33 -32
- package/Microsoft.AspNetCore.Diagnostics.HealthChecks/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.HostFiltering/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Hosting/internal/index.d.ts +12 -11
- package/Microsoft.AspNetCore.Hosting.Builder/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Hosting.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Hosting.Server/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Hosting.Server.Abstractions/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Hosting.Server.Features/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Hosting.StaticWebAssets/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Html/internal/index.d.ts +13 -12
- package/Microsoft.AspNetCore.Http/bindings.json +470 -530
- package/Microsoft.AspNetCore.Http/internal/index.d.ts +313 -318
- package/Microsoft.AspNetCore.Http.Connections/internal/index.d.ts +22 -21
- package/Microsoft.AspNetCore.Http.Connections.Features/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Http.Extensions/internal/index.d.ts +3 -5
- package/Microsoft.AspNetCore.Http.Features/bindings.json +4 -1
- package/Microsoft.AspNetCore.Http.Features/internal/index.d.ts +54 -56
- package/Microsoft.AspNetCore.Http.Features.Authentication/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Http.Headers/internal/index.d.ts +37 -36
- package/Microsoft.AspNetCore.Http.HttpResults/internal/index.d.ts +63 -62
- package/Microsoft.AspNetCore.Http.Json/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Http.Metadata/internal/index.d.ts +12 -11
- package/Microsoft.AspNetCore.Http.Timeouts/internal/index.d.ts +8 -7
- package/Microsoft.AspNetCore.Http.d.ts +4 -4
- package/Microsoft.AspNetCore.HttpLogging/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.HttpOverrides/internal/index.d.ts +3 -5
- package/Microsoft.AspNetCore.HttpsPolicy/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Identity/bindings.json +397 -17
- package/Microsoft.AspNetCore.Identity/internal/index.d.ts +249 -248
- package/Microsoft.AspNetCore.Identity.Data/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.Identity.UI.Services/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Localization/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.Localization.Routing/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Mvc/internal/index.d.ts +394 -393
- package/Microsoft.AspNetCore.Mvc.Abstractions/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.Mvc.ActionConstraints/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Mvc.ApiExplorer/internal/index.d.ts +34 -33
- package/Microsoft.AspNetCore.Mvc.ApplicationModels/internal/index.d.ts +72 -71
- package/Microsoft.AspNetCore.Mvc.ApplicationParts/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Mvc.Authorization/internal/index.d.ts +6 -5
- package/Microsoft.AspNetCore.Mvc.Controllers/internal/index.d.ts +22 -21
- package/Microsoft.AspNetCore.Mvc.Core.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Mvc.Cors/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Mvc.DataAnnotations/internal/index.d.ts +11 -10
- package/Microsoft.AspNetCore.Mvc.Diagnostics/bindings.json +99 -119
- package/Microsoft.AspNetCore.Mvc.Diagnostics/internal/index.d.ts +91 -91
- package/Microsoft.AspNetCore.Mvc.Diagnostics.d.ts +1 -1
- package/Microsoft.AspNetCore.Mvc.Filters/internal/index.d.ts +59 -58
- package/Microsoft.AspNetCore.Mvc.Formatters/internal/index.d.ts +27 -26
- package/Microsoft.AspNetCore.Mvc.Formatters.Xml/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.Mvc.Infrastructure/bindings.json +91 -0
- package/Microsoft.AspNetCore.Mvc.Infrastructure/internal/index.d.ts +50 -33
- package/Microsoft.AspNetCore.Mvc.Infrastructure.d.ts +1 -0
- package/Microsoft.AspNetCore.Mvc.Localization/internal/index.d.ts +18 -17
- package/Microsoft.AspNetCore.Mvc.ModelBinding/bindings.json +1721 -1721
- package/Microsoft.AspNetCore.Mvc.ModelBinding/internal/index.d.ts +261 -263
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Binders/internal/index.d.ts +36 -35
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata/internal/index.d.ts +108 -107
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation/bindings.json +80 -0
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation/internal/index.d.ts +58 -43
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation.d.ts +2 -1
- package/Microsoft.AspNetCore.Mvc.ModelBinding.d.ts +7 -7
- package/Microsoft.AspNetCore.Mvc.Razor/internal/index.d.ts +37 -36
- package/Microsoft.AspNetCore.Mvc.Razor.Compilation/internal/index.d.ts +10 -9
- package/Microsoft.AspNetCore.Mvc.Razor.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Mvc.Razor.Internal/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Mvc.Razor.TagHelpers/internal/index.d.ts +2 -4
- package/Microsoft.AspNetCore.Mvc.RazorPages/internal/index.d.ts +140 -139
- package/Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure/internal/index.d.ts +13 -12
- package/Microsoft.AspNetCore.Mvc.Rendering/internal/index.d.ts +137 -136
- package/Microsoft.AspNetCore.Mvc.Routing/internal/index.d.ts +45 -44
- package/Microsoft.AspNetCore.Mvc.TagHelpers/internal/index.d.ts +4 -6
- package/Microsoft.AspNetCore.Mvc.TagHelpers.Cache/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Mvc.ViewComponents/internal/index.d.ts +24 -23
- package/Microsoft.AspNetCore.Mvc.ViewEngines/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Mvc.ViewFeatures/bindings.json +131 -131
- package/Microsoft.AspNetCore.Mvc.ViewFeatures/internal/index.d.ts +181 -183
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.d.ts +1 -1
- package/Microsoft.AspNetCore.OutputCaching/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.RateLimiting/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Razor.Hosting/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Razor.Runtime.TagHelpers/internal/index.d.ts +8 -7
- package/Microsoft.AspNetCore.Razor.TagHelpers/internal/index.d.ts +15 -17
- package/Microsoft.AspNetCore.RequestDecompression/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.ResponseCaching/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.ResponseCompression/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Rewrite/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Routing/bindings.json +185 -185
- package/Microsoft.AspNetCore.Routing/internal/index.d.ts +135 -137
- package/Microsoft.AspNetCore.Routing.Constraints/internal/index.d.ts +25 -24
- package/Microsoft.AspNetCore.Routing.Internal/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Routing.Matching/bindings.json +4 -1
- package/Microsoft.AspNetCore.Routing.Matching/internal/index.d.ts +13 -15
- package/Microsoft.AspNetCore.Routing.Patterns/internal/index.d.ts +32 -31
- package/Microsoft.AspNetCore.Routing.Template/internal/index.d.ts +16 -18
- package/Microsoft.AspNetCore.Routing.Tree/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Routing.d.ts +1 -1
- package/Microsoft.AspNetCore.Server.HttpSys/internal/index.d.ts +9 -11
- package/Microsoft.AspNetCore.Server.IIS/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Server.IISIntegration/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Server.Kestrel/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Server.Kestrel.Core/internal/index.d.ts +15 -14
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Features/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http/internal/index.d.ts +2 -4
- package/Microsoft.AspNetCore.Server.Kestrel.Https/internal/index.d.ts +19 -18
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Session/internal/index.d.ts +3 -5
- package/Microsoft.AspNetCore.SignalR/bindings.json +131 -131
- package/Microsoft.AspNetCore.SignalR/internal/index.d.ts +104 -106
- package/Microsoft.AspNetCore.SignalR.Protocol/internal/index.d.ts +32 -34
- package/Microsoft.AspNetCore.SignalR.d.ts +1 -1
- package/Microsoft.AspNetCore.StaticAssets/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.StaticAssets.Infrastructure/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.StaticFiles/internal/index.d.ts +2 -4
- package/Microsoft.AspNetCore.StaticFiles.Infrastructure/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.WebSockets/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.WebUtilities/internal/index.d.ts +25 -24
- package/Microsoft.AspNetCore.WebUtilities.d.ts +1 -1
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +30 -29
- package/Microsoft.Extensions.Hosting/internal/index.d.ts +3 -2
- package/Microsoft.JSInterop/internal/index.d.ts +46 -48
- package/Microsoft.JSInterop.Implementation/internal/index.d.ts +8 -10
- package/Microsoft.JSInterop.Infrastructure/internal/index.d.ts +9 -11
- package/Microsoft.Net.Http.Headers/internal/index.d.ts +57 -59
- package/README.md +58 -15
- package/System.Formats.Cbor/internal/index.d.ts +4 -6
- package/System.Security.Claims/internal/index.d.ts +4 -3
- package/System.Threading.RateLimiting/internal/index.d.ts +13 -15
- package/__internal/extensions/index.d.ts +417 -419
- package/package.json +4 -4
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.AspNetCore.Http.Connections
|
|
3
3
|
// Assembly: Microsoft.AspNetCore.Http.Connections, Microsoft.AspNetCore.Http.Connections.Common
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import type { IAuthorizeData } from "../../Microsoft.AspNetCore.Authorization/internal/index.js";
|
|
@@ -27,10 +28,10 @@ export enum HttpTransportType {
|
|
|
27
28
|
export interface AvailableTransport$instance {
|
|
28
29
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_Connections_AvailableTransport: never;
|
|
29
30
|
|
|
30
|
-
get TransferFormats(): IList_1<System_Internal.String> |
|
|
31
|
-
set TransferFormats(value: IList_1<System_Internal.String> |
|
|
32
|
-
get Transport(): string |
|
|
33
|
-
set Transport(value: string |
|
|
31
|
+
get TransferFormats(): IList_1<System_Internal.String> | null;
|
|
32
|
+
set TransferFormats(value: IList_1<System_Internal.String> | null);
|
|
33
|
+
get Transport(): string | null;
|
|
34
|
+
set Transport(value: string | null);
|
|
34
35
|
}
|
|
35
36
|
|
|
36
37
|
|
|
@@ -126,18 +127,18 @@ export type NegotiateMetadata = NegotiateMetadata$instance;
|
|
|
126
127
|
export interface NegotiationResponse$instance {
|
|
127
128
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_Connections_NegotiationResponse: never;
|
|
128
129
|
|
|
129
|
-
get AccessToken(): string |
|
|
130
|
-
set AccessToken(value: string |
|
|
131
|
-
get AvailableTransports(): IList_1<AvailableTransport> |
|
|
132
|
-
set AvailableTransports(value: IList_1<AvailableTransport> |
|
|
133
|
-
get ConnectionId(): string |
|
|
134
|
-
set ConnectionId(value: string |
|
|
135
|
-
get ConnectionToken(): string |
|
|
136
|
-
set ConnectionToken(value: string |
|
|
137
|
-
get Error(): string |
|
|
138
|
-
set Error(value: string |
|
|
139
|
-
get Url(): string |
|
|
140
|
-
set Url(value: string |
|
|
130
|
+
get AccessToken(): string | null;
|
|
131
|
+
set AccessToken(value: string | null);
|
|
132
|
+
get AvailableTransports(): IList_1<AvailableTransport> | null;
|
|
133
|
+
set AvailableTransports(value: IList_1<AvailableTransport> | null);
|
|
134
|
+
get ConnectionId(): string | null;
|
|
135
|
+
set ConnectionId(value: string | null);
|
|
136
|
+
get ConnectionToken(): string | null;
|
|
137
|
+
set ConnectionToken(value: string | null);
|
|
138
|
+
get Error(): string | null;
|
|
139
|
+
set Error(value: string | null);
|
|
140
|
+
get Url(): string | null;
|
|
141
|
+
set Url(value: string | null);
|
|
141
142
|
UseStatefulReconnect: boolean;
|
|
142
143
|
Version: int;
|
|
143
144
|
}
|
|
@@ -154,8 +155,8 @@ export interface WebSocketOptions$instance {
|
|
|
154
155
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_Connections_WebSocketOptions: never;
|
|
155
156
|
|
|
156
157
|
CloseTimeout: TimeSpan;
|
|
157
|
-
get SubProtocolSelector(): Func_2<IList_1<System_Internal.String>, System_Internal.String> |
|
|
158
|
-
set SubProtocolSelector(value: Func_2<IList_1<System_Internal.String>, System_Internal.String> |
|
|
158
|
+
get SubProtocolSelector(): Func_2<IList_1<System_Internal.String>, System_Internal.String> | null;
|
|
159
|
+
set SubProtocolSelector(value: Func_2<IList_1<System_Internal.String>, System_Internal.String> | null);
|
|
159
160
|
}
|
|
160
161
|
|
|
161
162
|
|
|
@@ -167,7 +168,7 @@ export const WebSocketOptions: {
|
|
|
167
168
|
export type WebSocketOptions = WebSocketOptions$instance;
|
|
168
169
|
|
|
169
170
|
export abstract class HttpConnectionContextExtensions$instance {
|
|
170
|
-
static GetHttpContext(connection: ConnectionContext): HttpContext |
|
|
171
|
+
static GetHttpContext(connection: ConnectionContext): HttpContext | null;
|
|
171
172
|
}
|
|
172
173
|
|
|
173
174
|
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.AspNetCore.Http.Connections.Features
|
|
3
3
|
// Assembly: Microsoft.AspNetCore.Http.Connections
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
@@ -13,8 +14,8 @@ import type { HttpContext } from "../../Microsoft.AspNetCore.Http/internal/index
|
|
|
13
14
|
export interface IHttpContextFeature$instance {
|
|
14
15
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Connections_Features_IHttpContextFeature: never;
|
|
15
16
|
|
|
16
|
-
get HttpContext(): HttpContext |
|
|
17
|
-
set HttpContext(value: HttpContext |
|
|
17
|
+
get HttpContext(): HttpContext | null;
|
|
18
|
+
set HttpContext(value: HttpContext | null);
|
|
18
19
|
}
|
|
19
20
|
|
|
20
21
|
|
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.AspNetCore.Http.Extensions
|
|
3
3
|
// Assembly: Microsoft.AspNetCore.Http.Extensions
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
7
|
|
|
8
|
-
// Import support types from @tsonic/core
|
|
9
|
-
import type { ptr } from "@tsonic/core/types.js";
|
|
10
8
|
|
|
11
9
|
// Import types from other namespaces
|
|
12
10
|
import type { FragmentString, HostString, HttpRequest, PathString, QueryString } from "../../Microsoft.AspNetCore.Http/internal/index.js";
|
|
@@ -29,7 +27,7 @@ export interface QueryBuilder$instance {
|
|
|
29
27
|
|
|
30
28
|
Add(key: string, values: IEnumerable_1<System_Internal.String>): void;
|
|
31
29
|
Add(key: string, value: string): void;
|
|
32
|
-
Equals(obj:
|
|
30
|
+
Equals(obj: JsValue | null): boolean;
|
|
33
31
|
GetEnumerator(): IEnumerator_1<KeyValuePair_2<System_Internal.String, System_Internal.String>>;
|
|
34
32
|
GetHashCode(): int;
|
|
35
33
|
ToQueryString(): QueryString;
|
|
@@ -2400,7 +2400,10 @@
|
|
|
2400
2400
|
"isLiteral": false,
|
|
2401
2401
|
"visibility": "Public",
|
|
2402
2402
|
"declaringClrType": "Microsoft.AspNetCore.Http.Features.FeatureReference\u00601",
|
|
2403
|
-
"declaringAssemblyName": "Microsoft.Extensions.Features"
|
|
2403
|
+
"declaringAssemblyName": "Microsoft.Extensions.Features",
|
|
2404
|
+
"emitSemantics": {
|
|
2405
|
+
"callableStaticAccessorKind": "field"
|
|
2406
|
+
}
|
|
2404
2407
|
}
|
|
2405
2408
|
],
|
|
2406
2409
|
"events": [],
|
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.AspNetCore.Http.Features
|
|
3
3
|
// Assembly: Microsoft.AspNetCore.Http, Microsoft.AspNetCore.Http.Abstractions, Microsoft.AspNetCore.Http.Features, Microsoft.Extensions.Features
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
7
|
|
|
8
|
-
// Import support types from @tsonic/core
|
|
9
|
-
import type { ptr } from "@tsonic/core/types.js";
|
|
10
8
|
|
|
11
9
|
// Import types from other namespaces
|
|
12
10
|
import type { ConnectionContext } from "../../Microsoft.AspNetCore.Connections/internal/index.js";
|
|
@@ -40,7 +38,7 @@ export enum HttpsCompressionMode {
|
|
|
40
38
|
export interface IBadRequestExceptionFeature$instance {
|
|
41
39
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Features_IBadRequestExceptionFeature: never;
|
|
42
40
|
|
|
43
|
-
readonly Error: Exception |
|
|
41
|
+
readonly Error: Exception | null;
|
|
44
42
|
}
|
|
45
43
|
|
|
46
44
|
|
|
@@ -49,26 +47,26 @@ export type IBadRequestExceptionFeature = IBadRequestExceptionFeature$instance;
|
|
|
49
47
|
export interface IEndpointFeature$instance {
|
|
50
48
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Features_IEndpointFeature: never;
|
|
51
49
|
|
|
52
|
-
get Endpoint(): Endpoint |
|
|
53
|
-
set Endpoint(value: Endpoint |
|
|
50
|
+
get Endpoint(): Endpoint | null;
|
|
51
|
+
set Endpoint(value: Endpoint | null);
|
|
54
52
|
}
|
|
55
53
|
|
|
56
54
|
|
|
57
55
|
export type IEndpointFeature = IEndpointFeature$instance;
|
|
58
56
|
|
|
59
|
-
export interface IFeatureCollection$instance extends IEnumerable_1<KeyValuePair_2<Type,
|
|
57
|
+
export interface IFeatureCollection$instance extends IEnumerable_1<KeyValuePair_2<Type, JsValue>>, IEnumerable {
|
|
60
58
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Features_IFeatureCollection: never;
|
|
61
59
|
|
|
62
60
|
readonly IsReadOnly: boolean;
|
|
63
61
|
readonly Revision: int;
|
|
64
|
-
get Item():
|
|
65
|
-
set Item(value:
|
|
66
|
-
Get<TFeature>(): TFeature |
|
|
67
|
-
Set<TFeature>(instance: TFeature): void;
|
|
62
|
+
get Item(): JsValue | null;
|
|
63
|
+
set Item(value: JsValue | null);
|
|
64
|
+
Get<TFeature>(): TFeature | null;
|
|
65
|
+
Set<TFeature>(instance: TFeature | null): void;
|
|
68
66
|
}
|
|
69
67
|
|
|
70
68
|
|
|
71
|
-
export interface IFeatureCollection$instance extends System_Collections_Generic_Internal.IEnumerable_1<KeyValuePair_2<Type,
|
|
69
|
+
export interface IFeatureCollection$instance extends System_Collections_Generic_Internal.IEnumerable_1<KeyValuePair_2<Type, JsValue>> {}
|
|
72
70
|
|
|
73
71
|
export type IFeatureCollection = IFeatureCollection$instance;
|
|
74
72
|
|
|
@@ -76,8 +74,8 @@ export interface IFormFeature$instance {
|
|
|
76
74
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Features_IFormFeature: never;
|
|
77
75
|
|
|
78
76
|
readonly HasFormContentType: boolean;
|
|
79
|
-
get Form(): IFormCollection |
|
|
80
|
-
set Form(value: IFormCollection |
|
|
77
|
+
get Form(): IFormCollection | null;
|
|
78
|
+
set Form(value: IFormCollection | null);
|
|
81
79
|
ReadForm(): IFormCollection;
|
|
82
80
|
ReadFormAsync(cancellationToken: CancellationToken): Task_1<IFormCollection>;
|
|
83
81
|
}
|
|
@@ -107,10 +105,10 @@ export interface IHttpConnectionFeature$instance {
|
|
|
107
105
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Features_IHttpConnectionFeature: never;
|
|
108
106
|
|
|
109
107
|
ConnectionId: string;
|
|
110
|
-
get RemoteIpAddress(): IPAddress |
|
|
111
|
-
set RemoteIpAddress(value: IPAddress |
|
|
112
|
-
get LocalIpAddress(): IPAddress |
|
|
113
|
-
set LocalIpAddress(value: IPAddress |
|
|
108
|
+
get RemoteIpAddress(): IPAddress | null;
|
|
109
|
+
set RemoteIpAddress(value: IPAddress | null);
|
|
110
|
+
get LocalIpAddress(): IPAddress | null;
|
|
111
|
+
set LocalIpAddress(value: IPAddress | null);
|
|
114
112
|
RemotePort: int;
|
|
115
113
|
LocalPort: int;
|
|
116
114
|
}
|
|
@@ -122,7 +120,7 @@ export interface IHttpExtendedConnectFeature$instance {
|
|
|
122
120
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Features_IHttpExtendedConnectFeature: never;
|
|
123
121
|
|
|
124
122
|
readonly IsExtendedConnect: boolean;
|
|
125
|
-
readonly Protocol: string |
|
|
123
|
+
readonly Protocol: string | null;
|
|
126
124
|
AcceptAsync(): ValueTask_1<Stream>;
|
|
127
125
|
}
|
|
128
126
|
|
|
@@ -143,7 +141,7 @@ export type IHttpMaxRequestBodySizeFeature = IHttpMaxRequestBodySizeFeature$inst
|
|
|
143
141
|
export interface IHttpMetricsTagsFeature$instance {
|
|
144
142
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Features_IHttpMetricsTagsFeature: never;
|
|
145
143
|
|
|
146
|
-
readonly Tags: ICollection_1<KeyValuePair_2<System_Internal.String,
|
|
144
|
+
readonly Tags: ICollection_1<KeyValuePair_2<System_Internal.String, JsValue>>;
|
|
147
145
|
MetricsDisabled: boolean;
|
|
148
146
|
}
|
|
149
147
|
|
|
@@ -232,12 +230,12 @@ export interface IHttpResponseFeature$instance {
|
|
|
232
230
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Features_IHttpResponseFeature: never;
|
|
233
231
|
|
|
234
232
|
StatusCode: int;
|
|
235
|
-
get ReasonPhrase(): string |
|
|
236
|
-
set ReasonPhrase(value: string |
|
|
233
|
+
get ReasonPhrase(): string | null;
|
|
234
|
+
set ReasonPhrase(value: string | null);
|
|
237
235
|
Headers: IHeaderDictionary;
|
|
238
236
|
Body: Stream;
|
|
239
237
|
readonly HasStarted: boolean;
|
|
240
|
-
OnStarting(callback: Func_2<
|
|
238
|
+
OnStarting(callback: Func_2<JsValue, Task>, state: JsValue): void;
|
|
241
239
|
}
|
|
242
240
|
|
|
243
241
|
|
|
@@ -294,7 +292,7 @@ export type IHttpWebTransportFeature = IHttpWebTransportFeature$instance;
|
|
|
294
292
|
export interface IItemsFeature$instance {
|
|
295
293
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Features_IItemsFeature: never;
|
|
296
294
|
|
|
297
|
-
Items: IDictionary_2<
|
|
295
|
+
Items: IDictionary_2<JsValue, JsValue | null>;
|
|
298
296
|
}
|
|
299
297
|
|
|
300
298
|
|
|
@@ -351,7 +349,7 @@ export interface IServerVariablesFeature$instance {
|
|
|
351
349
|
}
|
|
352
350
|
|
|
353
351
|
|
|
354
|
-
export type IServerVariablesFeature = IServerVariablesFeature$instance & { [variableName: string]: string |
|
|
352
|
+
export type IServerVariablesFeature = IServerVariablesFeature$instance & { [variableName: string]: string | null; };
|
|
355
353
|
|
|
356
354
|
export interface IServiceProvidersFeature$instance {
|
|
357
355
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Features_IServiceProvidersFeature: never;
|
|
@@ -374,9 +372,9 @@ export type ISessionFeature = ISessionFeature$instance;
|
|
|
374
372
|
export interface ITlsConnectionFeature$instance {
|
|
375
373
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Features_ITlsConnectionFeature: never;
|
|
376
374
|
|
|
377
|
-
get ClientCertificate(): X509Certificate2 |
|
|
378
|
-
set ClientCertificate(value: X509Certificate2 |
|
|
379
|
-
GetClientCertificateAsync(cancellationToken: CancellationToken): Task_1<X509Certificate2 |
|
|
375
|
+
get ClientCertificate(): X509Certificate2 | null;
|
|
376
|
+
set ClientCertificate(value: X509Certificate2 | null);
|
|
377
|
+
GetClientCertificateAsync(cancellationToken: CancellationToken): Task_1<X509Certificate2 | null>;
|
|
380
378
|
}
|
|
381
379
|
|
|
382
380
|
|
|
@@ -418,14 +416,14 @@ export type IWebTransportSession = IWebTransportSession$instance;
|
|
|
418
416
|
export interface FeatureReference_1$instance<T> {
|
|
419
417
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_Features_FeatureReference_1: never;
|
|
420
418
|
|
|
421
|
-
Fetch(features: IFeatureCollection): T |
|
|
419
|
+
Fetch(features: IFeatureCollection): T | null;
|
|
422
420
|
Update(features: IFeatureCollection, feature: T): T;
|
|
423
421
|
}
|
|
424
422
|
|
|
425
423
|
|
|
426
424
|
export const FeatureReference_1: {
|
|
427
425
|
new<T>(): FeatureReference_1<T>;
|
|
428
|
-
readonly Default:
|
|
426
|
+
readonly Default: <T>() => FeatureReference_1<T>;
|
|
429
427
|
};
|
|
430
428
|
|
|
431
429
|
|
|
@@ -434,11 +432,11 @@ export type FeatureReference_1<T> = FeatureReference_1$instance<T>;
|
|
|
434
432
|
export interface FeatureReferences_1$instance<TCache> {
|
|
435
433
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_Features_FeatureReferences_1: never;
|
|
436
434
|
|
|
437
|
-
Cache: TCache |
|
|
435
|
+
Cache: TCache | null;
|
|
438
436
|
Collection: IFeatureCollection;
|
|
439
437
|
Revision: int;
|
|
440
|
-
Fetch<TFeature, TState>(cached: TFeature, state: TState, factory: Func_2<TState, TFeature>): TFeature |
|
|
441
|
-
Fetch<TFeature>(cached: TFeature, factory: Func_2<IFeatureCollection, TFeature>): TFeature |
|
|
438
|
+
Fetch<TFeature, TState>(cached: TFeature | null, state: TState, factory: Func_2<TState, TFeature | null>): TFeature | null;
|
|
439
|
+
Fetch<TFeature>(cached: TFeature | null, factory: Func_2<IFeatureCollection, TFeature | null>): TFeature | null;
|
|
442
440
|
Initalize(collection: IFeatureCollection): void;
|
|
443
441
|
Initalize(collection: IFeatureCollection, revision: int): void;
|
|
444
442
|
}
|
|
@@ -480,12 +478,12 @@ export interface FeatureCollection$instance extends IFeatureCollection$instance
|
|
|
480
478
|
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
481
479
|
|
|
482
480
|
readonly IsReadOnly: boolean;
|
|
483
|
-
get Item():
|
|
484
|
-
set Item(value:
|
|
481
|
+
get Item(): JsValue | null;
|
|
482
|
+
set Item(value: JsValue | null);
|
|
485
483
|
readonly Revision: int;
|
|
486
|
-
Get<TFeature>(): TFeature |
|
|
487
|
-
GetEnumerator(): IEnumerator_1<KeyValuePair_2<Type,
|
|
488
|
-
Set<TFeature>(instance: TFeature): void;
|
|
484
|
+
Get<TFeature>(): TFeature | null;
|
|
485
|
+
GetEnumerator(): IEnumerator_1<KeyValuePair_2<Type, JsValue>>;
|
|
486
|
+
Set<TFeature>(instance: TFeature | null): void;
|
|
489
487
|
}
|
|
490
488
|
|
|
491
489
|
|
|
@@ -508,8 +506,8 @@ export interface FormFeature$instance {
|
|
|
508
506
|
|
|
509
507
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Features_IFormFeature: never;
|
|
510
508
|
|
|
511
|
-
get Form(): IFormCollection |
|
|
512
|
-
set Form(value: IFormCollection |
|
|
509
|
+
get Form(): IFormCollection | null;
|
|
510
|
+
set Form(value: IFormCollection | null);
|
|
513
511
|
readonly HasFormContentType: boolean;
|
|
514
512
|
ReadForm(): IFormCollection;
|
|
515
513
|
ReadFormAsync(): Task_1<IFormCollection>;
|
|
@@ -564,11 +562,11 @@ export interface HttpConnectionFeature$instance extends IHttpConnectionFeature$i
|
|
|
564
562
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Features_IHttpConnectionFeature: never;
|
|
565
563
|
|
|
566
564
|
ConnectionId: string;
|
|
567
|
-
get LocalIpAddress(): IPAddress |
|
|
568
|
-
set LocalIpAddress(value: IPAddress |
|
|
565
|
+
get LocalIpAddress(): IPAddress | null;
|
|
566
|
+
set LocalIpAddress(value: IPAddress | null);
|
|
569
567
|
LocalPort: int;
|
|
570
|
-
get RemoteIpAddress(): IPAddress |
|
|
571
|
-
set RemoteIpAddress(value: IPAddress |
|
|
568
|
+
get RemoteIpAddress(): IPAddress | null;
|
|
569
|
+
set RemoteIpAddress(value: IPAddress | null);
|
|
572
570
|
RemotePort: int;
|
|
573
571
|
}
|
|
574
572
|
|
|
@@ -665,11 +663,11 @@ export interface HttpResponseFeature$instance extends IHttpResponseFeature$insta
|
|
|
665
663
|
Body: Stream;
|
|
666
664
|
readonly HasStarted: boolean;
|
|
667
665
|
Headers: IHeaderDictionary;
|
|
668
|
-
get ReasonPhrase(): string |
|
|
669
|
-
set ReasonPhrase(value: string |
|
|
666
|
+
get ReasonPhrase(): string | null;
|
|
667
|
+
set ReasonPhrase(value: string | null);
|
|
670
668
|
StatusCode: int;
|
|
671
|
-
OnCompleted(callback: Func_2<
|
|
672
|
-
OnStarting(callback: Func_2<
|
|
669
|
+
OnCompleted(callback: Func_2<JsValue, Task>, state: JsValue): void;
|
|
670
|
+
OnStarting(callback: Func_2<JsValue, Task>, state: JsValue): void;
|
|
673
671
|
}
|
|
674
672
|
|
|
675
673
|
|
|
@@ -690,7 +688,7 @@ export interface ItemsFeature$instance extends IItemsFeature$instance {
|
|
|
690
688
|
|
|
691
689
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Features_IItemsFeature: never;
|
|
692
690
|
|
|
693
|
-
Items: IDictionary_2<
|
|
691
|
+
Items: IDictionary_2<JsValue, JsValue | null>;
|
|
694
692
|
}
|
|
695
693
|
|
|
696
694
|
|
|
@@ -785,7 +783,7 @@ export interface RequestServicesFeature$instance extends IServiceProvidersFeatur
|
|
|
785
783
|
|
|
786
784
|
|
|
787
785
|
export const RequestServicesFeature: {
|
|
788
|
-
new(context: HttpContext, scopeFactory: IServiceScopeFactory): RequestServicesFeature;
|
|
786
|
+
new(context: HttpContext, scopeFactory: IServiceScopeFactory | null): RequestServicesFeature;
|
|
789
787
|
};
|
|
790
788
|
|
|
791
789
|
|
|
@@ -807,7 +805,7 @@ export interface ResponseCookiesFeature$instance extends IResponseCookiesFeature
|
|
|
807
805
|
|
|
808
806
|
export const ResponseCookiesFeature: {
|
|
809
807
|
new(features: IFeatureCollection): ResponseCookiesFeature;
|
|
810
|
-
new(features: IFeatureCollection, builderPool: ObjectPool_1<StringBuilder>): ResponseCookiesFeature;
|
|
808
|
+
new(features: IFeatureCollection, builderPool: ObjectPool_1<StringBuilder> | null): ResponseCookiesFeature;
|
|
811
809
|
};
|
|
812
810
|
|
|
813
811
|
|
|
@@ -865,9 +863,9 @@ export interface TlsConnectionFeature$instance extends ITlsConnectionFeature$ins
|
|
|
865
863
|
|
|
866
864
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Features_ITlsConnectionFeature: never;
|
|
867
865
|
|
|
868
|
-
get ClientCertificate(): X509Certificate2 |
|
|
869
|
-
set ClientCertificate(value: X509Certificate2 |
|
|
870
|
-
GetClientCertificateAsync(cancellationToken: CancellationToken): Task_1<X509Certificate2 |
|
|
866
|
+
get ClientCertificate(): X509Certificate2 | null;
|
|
867
|
+
set ClientCertificate(value: X509Certificate2 | null);
|
|
868
|
+
GetClientCertificateAsync(cancellationToken: CancellationToken): Task_1<X509Certificate2 | null>;
|
|
871
869
|
}
|
|
872
870
|
|
|
873
871
|
|
|
@@ -884,7 +882,7 @@ export type TlsConnectionFeature = TlsConnectionFeature$instance & __TlsConnecti
|
|
|
884
882
|
|
|
885
883
|
|
|
886
884
|
export abstract class FeatureCollectionExtensions$instance {
|
|
887
|
-
static GetRequiredFeature(featureCollection: IFeatureCollection, key: Type):
|
|
885
|
+
static GetRequiredFeature(featureCollection: IFeatureCollection, key: Type): JsValue;
|
|
888
886
|
static GetRequiredFeature<TFeature>(featureCollection: IFeatureCollection): TFeature;
|
|
889
887
|
}
|
|
890
888
|
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.AspNetCore.Http.Features.Authentication
|
|
3
3
|
// Assembly: Microsoft.AspNetCore.Http, Microsoft.AspNetCore.Http.Features
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import type { ClaimsPrincipal } from "@tsonic/dotnet/System.Security.Claims/internal/index.js";
|
|
@@ -13,8 +14,8 @@ import type { Object as ClrObject } from "@tsonic/dotnet/System/internal/index.j
|
|
|
13
14
|
export interface IHttpAuthenticationFeature$instance {
|
|
14
15
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Features_Authentication_IHttpAuthenticationFeature: never;
|
|
15
16
|
|
|
16
|
-
get User(): ClaimsPrincipal |
|
|
17
|
-
set User(value: ClaimsPrincipal |
|
|
17
|
+
get User(): ClaimsPrincipal | null;
|
|
18
|
+
set User(value: ClaimsPrincipal | null);
|
|
18
19
|
}
|
|
19
20
|
|
|
20
21
|
|
|
@@ -25,8 +26,8 @@ export interface HttpAuthenticationFeature$instance extends IHttpAuthenticationF
|
|
|
25
26
|
|
|
26
27
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Features_Authentication_IHttpAuthenticationFeature: never;
|
|
27
28
|
|
|
28
|
-
get User(): ClaimsPrincipal |
|
|
29
|
-
set User(value: ClaimsPrincipal |
|
|
29
|
+
get User(): ClaimsPrincipal | null;
|
|
30
|
+
set User(value: ClaimsPrincipal | null);
|
|
30
31
|
}
|
|
31
32
|
|
|
32
33
|
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.AspNetCore.Http.Headers
|
|
3
3
|
// Assembly: Microsoft.AspNetCore.Http.Extensions
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import type { HostString, IHeaderDictionary } from "../../Microsoft.AspNetCore.Http/internal/index.js";
|
|
@@ -19,16 +20,16 @@ export interface RequestHeaders$instance {
|
|
|
19
20
|
AcceptCharset: IList_1<StringWithQualityHeaderValue>;
|
|
20
21
|
AcceptEncoding: IList_1<StringWithQualityHeaderValue>;
|
|
21
22
|
AcceptLanguage: IList_1<StringWithQualityHeaderValue>;
|
|
22
|
-
get CacheControl(): CacheControlHeaderValue |
|
|
23
|
-
set CacheControl(value: CacheControlHeaderValue |
|
|
24
|
-
get ContentDisposition(): ContentDispositionHeaderValue |
|
|
25
|
-
set ContentDisposition(value: ContentDispositionHeaderValue |
|
|
23
|
+
get CacheControl(): CacheControlHeaderValue | null;
|
|
24
|
+
set CacheControl(value: CacheControlHeaderValue | null);
|
|
25
|
+
get ContentDisposition(): ContentDispositionHeaderValue | null;
|
|
26
|
+
set ContentDisposition(value: ContentDispositionHeaderValue | null);
|
|
26
27
|
get ContentLength(): Nullable_1<System_Internal.Int64>;
|
|
27
28
|
set ContentLength(value: Nullable_1<System_Internal.Int64> | long);
|
|
28
|
-
get ContentRange(): ContentRangeHeaderValue |
|
|
29
|
-
set ContentRange(value: ContentRangeHeaderValue |
|
|
30
|
-
get ContentType(): MediaTypeHeaderValue |
|
|
31
|
-
set ContentType(value: MediaTypeHeaderValue |
|
|
29
|
+
get ContentRange(): ContentRangeHeaderValue | null;
|
|
30
|
+
set ContentRange(value: ContentRangeHeaderValue | null);
|
|
31
|
+
get ContentType(): MediaTypeHeaderValue | null;
|
|
32
|
+
set ContentType(value: MediaTypeHeaderValue | null);
|
|
32
33
|
Cookie: IList_1<CookieHeaderValue>;
|
|
33
34
|
get Date(): Nullable_1<DateTimeOffset>;
|
|
34
35
|
set Date(value: Nullable_1<DateTimeOffset> | DateTimeOffset);
|
|
@@ -40,22 +41,22 @@ export interface RequestHeaders$instance {
|
|
|
40
41
|
get IfModifiedSince(): Nullable_1<DateTimeOffset>;
|
|
41
42
|
set IfModifiedSince(value: Nullable_1<DateTimeOffset> | DateTimeOffset);
|
|
42
43
|
IfNoneMatch: IList_1<EntityTagHeaderValue>;
|
|
43
|
-
get IfRange(): RangeConditionHeaderValue |
|
|
44
|
-
set IfRange(value: RangeConditionHeaderValue |
|
|
44
|
+
get IfRange(): RangeConditionHeaderValue | null;
|
|
45
|
+
set IfRange(value: RangeConditionHeaderValue | null);
|
|
45
46
|
get IfUnmodifiedSince(): Nullable_1<DateTimeOffset>;
|
|
46
47
|
set IfUnmodifiedSince(value: Nullable_1<DateTimeOffset> | DateTimeOffset);
|
|
47
48
|
get LastModified(): Nullable_1<DateTimeOffset>;
|
|
48
49
|
set LastModified(value: Nullable_1<DateTimeOffset> | DateTimeOffset);
|
|
49
|
-
get Range(): RangeHeaderValue |
|
|
50
|
-
set Range(value: RangeHeaderValue |
|
|
51
|
-
get Referer(): Uri |
|
|
52
|
-
set Referer(value: Uri |
|
|
53
|
-
Append(name: string, value:
|
|
50
|
+
get Range(): RangeHeaderValue | null;
|
|
51
|
+
set Range(value: RangeHeaderValue | null);
|
|
52
|
+
get Referer(): Uri | null;
|
|
53
|
+
set Referer(value: Uri | null);
|
|
54
|
+
Append(name: string, value: JsValue): void;
|
|
54
55
|
AppendList<T>(name: string, values: IList_1<T>): void;
|
|
55
|
-
Get<T>(name: string): T |
|
|
56
|
+
Get<T>(name: string): T | null;
|
|
56
57
|
GetList<T>(name: string): IList_1<T>;
|
|
57
|
-
Set(name: string, value:
|
|
58
|
-
SetList<T>(name: string, values: IList_1<T>): void;
|
|
58
|
+
Set(name: string, value: JsValue | null): void;
|
|
59
|
+
SetList<T>(name: string, values: IList_1<T> | null): void;
|
|
59
60
|
}
|
|
60
61
|
|
|
61
62
|
|
|
@@ -69,34 +70,34 @@ export type RequestHeaders = RequestHeaders$instance;
|
|
|
69
70
|
export interface ResponseHeaders$instance {
|
|
70
71
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_Headers_ResponseHeaders: never;
|
|
71
72
|
|
|
72
|
-
get CacheControl(): CacheControlHeaderValue |
|
|
73
|
-
set CacheControl(value: CacheControlHeaderValue |
|
|
74
|
-
get ContentDisposition(): ContentDispositionHeaderValue |
|
|
75
|
-
set ContentDisposition(value: ContentDispositionHeaderValue |
|
|
73
|
+
get CacheControl(): CacheControlHeaderValue | null;
|
|
74
|
+
set CacheControl(value: CacheControlHeaderValue | null);
|
|
75
|
+
get ContentDisposition(): ContentDispositionHeaderValue | null;
|
|
76
|
+
set ContentDisposition(value: ContentDispositionHeaderValue | null);
|
|
76
77
|
get ContentLength(): Nullable_1<System_Internal.Int64>;
|
|
77
78
|
set ContentLength(value: Nullable_1<System_Internal.Int64> | long);
|
|
78
|
-
get ContentRange(): ContentRangeHeaderValue |
|
|
79
|
-
set ContentRange(value: ContentRangeHeaderValue |
|
|
80
|
-
get ContentType(): MediaTypeHeaderValue |
|
|
81
|
-
set ContentType(value: MediaTypeHeaderValue |
|
|
79
|
+
get ContentRange(): ContentRangeHeaderValue | null;
|
|
80
|
+
set ContentRange(value: ContentRangeHeaderValue | null);
|
|
81
|
+
get ContentType(): MediaTypeHeaderValue | null;
|
|
82
|
+
set ContentType(value: MediaTypeHeaderValue | null);
|
|
82
83
|
get Date(): Nullable_1<DateTimeOffset>;
|
|
83
84
|
set Date(value: Nullable_1<DateTimeOffset> | DateTimeOffset);
|
|
84
|
-
get ETag(): EntityTagHeaderValue |
|
|
85
|
-
set ETag(value: EntityTagHeaderValue |
|
|
85
|
+
get ETag(): EntityTagHeaderValue | null;
|
|
86
|
+
set ETag(value: EntityTagHeaderValue | null);
|
|
86
87
|
get Expires(): Nullable_1<DateTimeOffset>;
|
|
87
88
|
set Expires(value: Nullable_1<DateTimeOffset> | DateTimeOffset);
|
|
88
89
|
readonly Headers: IHeaderDictionary;
|
|
89
90
|
get LastModified(): Nullable_1<DateTimeOffset>;
|
|
90
91
|
set LastModified(value: Nullable_1<DateTimeOffset> | DateTimeOffset);
|
|
91
|
-
get Location(): Uri |
|
|
92
|
-
set Location(value: Uri |
|
|
92
|
+
get Location(): Uri | null;
|
|
93
|
+
set Location(value: Uri | null);
|
|
93
94
|
SetCookie: IList_1<SetCookieHeaderValue>;
|
|
94
|
-
Append(name: string, value:
|
|
95
|
+
Append(name: string, value: JsValue): void;
|
|
95
96
|
AppendList<T>(name: string, values: IList_1<T>): void;
|
|
96
|
-
Get<T>(name: string): T |
|
|
97
|
+
Get<T>(name: string): T | null;
|
|
97
98
|
GetList<T>(name: string): IList_1<T>;
|
|
98
|
-
Set(name: string, value:
|
|
99
|
-
SetList<T>(name: string, values: IList_1<T>): void;
|
|
99
|
+
Set(name: string, value: JsValue | null): void;
|
|
100
|
+
SetList<T>(name: string, values: IList_1<T> | null): void;
|
|
100
101
|
}
|
|
101
102
|
|
|
102
103
|
|