Module

x/aleph/server/types.ts

The Full-stack Framework in Deno.
Go to Latest
type alias SSR
import { type SSR } from "https://deno.land/x/aleph@1.0.0-beta.1/server/types.ts";
definition: { cacheControl?: "private" | "public"; CSP?: CSP; dataDefer: true; render: (ssr: SSRContext) => Promise<ReadableStream> | ReadableStream; } | { cacheControl?: "private" | "public"; CSP?: CSP; dataDefer?: false; render: SSRFn; } | SSRFn