Renders an SSR document for the given request context.
Bridges the kernel IRequestContext into a web-standard Request,
invokes the React Router request handler, maps the resulting web Response
back onto ctx.response (status, headers, body), and returns the
HandlerResult the route handler should return.
The current kernel request context
A promise that resolves to the handler result
Service contract for server-side rendering (SSR).
Registered by the React Router plugin under
CAPABILITIES.SSR. The singlerendermethod receives the kernel's request context, delegates to the React Router request handler, and writes the resulting webResponseback throughIResponse(streaming or buffered).Example
Since
0.1.0