Skip to main content
Module

x/espresso/mod.ts>Application

Minimal web framework for Deno
Latest
class Application
import { Application } from "https://deno.land/x/espresso@0.1.1/mod.ts";

Constructors

new
Application(serverConfig?: ServerConfig)

Properties

private
log: boolean
private
middlewares: Middleware[]
private
port: number
private
router: any
private
server: any

Methods

private
listen()
delete(...params: any)
get(...params: any)
post(...params: any)
put(...params: any)
start(port?: number)
use(...middlewares: Middleware[])