Skip to main content
Module

x/fastro/server/mod.ts>RequestResponse

Fast and simple web application framework for deno
Go to Latest
interface RequestResponse
Re-export
import { type RequestResponse } from "https://deno.land/x/fastro@v0.60.1/server/mod.ts";

Properties

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>