ViteRenderContext
@tsed/vike
Usage
typescript
import { ViteRenderContext } from "@tsed/vike";
See /packages/third-parties/vike/src/types/interfaces/ViteRenderContext.ts.
Overview
ts
interface ViteRenderContext<Data = Record<string, unknown>, Session = Record<string, unknown>> extends Record<string, unknown> {
host: string;
protocol: string;
method: string;
url: string;
secure: boolean;
headers: IncomingHttpHeaders;
session?: Session;
}
host
ts
host: string;
protocol
ts
protocol: string;
method
ts
method: string;
url
ts
url: string;
secure
ts
secure: boolean;
headers
ts
headers: IncomingHttpHeaders;
session
ts
session?: Session;