interface RequestListenerOptions {
    build: ServerBuild | (() => ServerBuild | Promise<ServerBuild>);
    getLoadContext?: ((request: Request, client: ClientAddress) => AppLoadContext | Promise<AppLoadContext>);
    mode?: string;
}

Properties

build: ServerBuild | (() => ServerBuild | Promise<ServerBuild>)
getLoadContext?: ((request: Request, client: ClientAddress) => AppLoadContext | Promise<AppLoadContext>)
mode?: string