bridgeRequestToRR(ctx: IRequestContext,handler: SsrRequestHandler,createLoadContext: () => RouterLoadContext,populateLoadContext?: PopulateLoadContext): Promise<HandlerResult>
Bridges a kernel IRequestContext into a web Request, invokes the RR
handler, and maps the resulting web Response back onto ctx.response.
Returns the HandlerResult for the route handler to return.
ctx: IRequestContext
The kernel request context
handler: SsrRequestHandler
The React Router request handler
createLoadContext: () => RouterLoadContext
Factory for the per-request context provider
optional
populateLoadContext: PopulateLoadContext
Optional hook adding app values to the context
Promise<HandlerResult>
The HandlerResult produced by writing the response back