Skip to main content
Module

x/alosaur/src/deps.ts>Response

Alosaur - Deno web framework with many decorators
Go to Latest
interface Response
import { type Response } from "https://deno.land/x/alosaur@v0.31.0/src/deps.ts";

Interface of HTTP server response. If body is a Reader, response would be chunked. If body is a string, it would be UTF-8 encoded by default.

Properties

optional
status: number
optional
headers: Headers
optional
body: Uint8Array | Deno.Reader | string
optional
trailers: () => Promise<Headers> | Headers