Skip to main content
Module

x/espresso/context.ts>ContexInterface

Minimal web framework for Deno
Latest
interface ContexInterface
import { type ContexInterface } from "https://deno.land/x/espresso@0.1.1/context.ts";

Index Signatures

[key: string]: any

Properties

hostname: object
method: string
url: string
body: object | string
optional
params: Record<string, unknown>

Methods

send(body: string): void
json(body: object | string): void