Adds the web track streaming proxy and streaming HTTP client

This commit is contained in:
BinaryAlley committed 2026-10-15 18:52:23 +03:00
1 parent d7c1ae60c2
commit aab36dcd29
17 files changed
+969 -29

No files matched your search

+2
View File
@@ -100,6 +100,8 @@ public class Program
app.UseSession();
app.UseAuthentication();
app.UseAuthorization();
// The rate limiting policies are evaluated after authentication, because the track stream limit is partitioned per authenticated user.
app.UseRateLimiter();
// validate the antiforgery token after authentication, because the token is bound to the authenticated user and
// validating it before the user is known would reject every request made by a logged-in user
app.UseAntiforgeryFE(additionalContentTypes: ["application/json"]);