Skip to main content
Module

x/fastro/types.d.ts>HttpResponse

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