mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 10:08:57 +00:00
Add status code response capabilities to PrerenderTagHelper and RenderToStringResult. Client can now send status codes back based on client routes.
This commit is contained in:
committed by
Steve Sanderson
parent
b9c387bf5f
commit
347524a116
@@ -25,5 +25,10 @@ namespace Microsoft.AspNetCore.SpaServices.Prerendering
|
||||
/// to the SPA's routing configuration.
|
||||
/// </summary>
|
||||
public string RedirectUrl { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// If set, specifies the HTTP status code that should be sent back with the server response.
|
||||
/// </summary>
|
||||
public int? StatusCode { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user