Visitar URL original
createRequestHandler • Angular
The Wayback Machine - https://web.archive.org/web/20260422175108/https://angular.dev/api/ssr/createRequestHandler
    • Overview
@angular/ssr

createRequestHandler

function

Annotates a request handler function with metadata, marking it as a special handler.

API

Usage Notes

Example usage in a Hono application:

const app = new Hono();
export default createRequestHandler(app.fetch);

Example usage in a H3 application:

const app = createApp();
const handler = toWebHandler(app);
export default createRequestHandler(handler);
Jump to details