Skip to main content
Module

x/fastro/server/types.ts>RequestResponse

Fast and simple web application framework for deno
Go to Latest
type alias RequestResponse
import { type RequestResponse } from "https://deno.land/x/fastro@v0.61.0/server/types.ts";
definition: { deleteCookie: (name: string, attributes?: { path?: string | undefined; domain?: string | undefined; } | undefined) => RequestResponse; setCookie: (cookie: Cookie) => RequestResponse; headers: (headers: Headers) => RequestResponse; authorization: (type: string) => RequestResponse; contentType: (type: string) => RequestResponse; status: (status: number) => RequestResponse; send: (object: unknown) => Response | Promise<Response>; json: (object: unknown) => Response | Promise<Response>; ssr: (ssr: SSR) => SSR; html: (html: string) => Response | Promise<Response>; }