Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/snel/imports/http.ts>Response

A Cybernetical framework for svelte applications in deno
Latest
interface Response
Deprecated
Deprecated

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.

import { type Response } from "https://deno.land/x/snel@v0.7.1/imports/http.ts";

Properties

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