A server route that uses Client-Side Rendering (CSR) mode.
API
interface ServerRouteClient extends ServerRouteCommon {
renderMode: RenderMode.Client;
override path: string;
override headers?: Record<string, string> | undefined;
override status?: number | undefined;
}
renderMode
RenderMode.ClientSpecifies that the route uses Client-Side Rendering (CSR) mode.
path
stringThe path associated with this route.
headers
Record<string, string> | undefinedOptional additional headers to include in the response for this route.
status
number | undefinedOptional status code to return for this route.