Function createRequestHandler
- createRequestHandler(__namedParameters): RequestHandler
Parameters
- __namedParameters: {
build: ServerBuild | (() => Promise<ServerBuild>);
getLoadContext?: GetLoadContextFunction;
mode?: string;
}build: ServerBuild | (() => Promise<ServerBuild>)
Optional
mode?: string
Returns a request handler for Express that serves the response using Remix.