Skip to main content
Module

x/dactyl/deps.ts>Response

Web framework for Deno, built on top of Oak 🦇
Latest
class Response
import { Response } from "https://deno.land/x/dactyl@v0.1.0-alpha/deps.ts";

Properties

optional
body: any

The body of the response

headers: Headers

Headers that will be returned in the response

optional
status: Status

The HTTP status of the response

optional
type: string

The media type, or extension of the response

readonly
writable: boolean

Methods

toServerResponse(): ServerResponse

Take this response and convert it to the response used by the Deno net server.