| Server IP : 159.203.156.69 / Your IP : 216.73.217.172 Web Server : nginx/1.24.0 System : Linux main-ubuntu 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/tanviranik.com/node_modules/vinext/dist/server/ |
Upload File : |
import { NextHeader } from "../config/next-config.js";
import { RequestContext } from "../config/config-matchers.js";
//#region src/server/app-rsc-response-finalizer.d.ts
type FinalizeAppRscResponseOptions = {
basePath: string;
configHeaders: NextHeader[];
/**
* Original pre-middleware request context.
* Next.js evaluates config header has/missing conditions against the
* unmodified incoming request, so callers must pass the snapshot taken
* before middleware runs.
*/
requestContext: RequestContext;
};
/**
* Apply App Router response finalization that must happen outside individual
* route dispatchers.
*
* Called once per request in the outer handler() wrapper, after all route
* handling, so that every response path (page, route handler, server action,
* metadata, not-found) gets headers applied consistently.
*
* Skips 3xx redirect responses. Response.redirect() creates immutable
* headers that throw on mutation, and Next.js does not apply config headers
* to redirects regardless.
*/
declare function finalizeAppRscResponse(response: Response, request: Request, options: FinalizeAppRscResponseOptions): Response;
//#endregion
export { finalizeAppRscResponse };
//# sourceMappingURL=app-rsc-response-finalizer.d.ts.map