Skip to main content
Module

x/drash/mod.ts

A microframework for Deno's HTTP server with zero third-party dependencies
Go to Latest
File
////////////////////////////////////////////////////////////////////////////////// FILE MARKER - IMPORTS ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
import * as Interfaces from "./src/interfaces.ts";import * as Types from "./src/types.ts";import { Server } from "./src/http/server.ts";
////////////////////////////////////////////////////////////////////////////////// FILE MARKER - EXPORTS - CLASSES /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
export const version = "v2.0.0";
// Dictionariesexport { mimeDb as MimeDb } from "./src/dictionaries/mime_db.ts";
// Errorsexport * as Errors from "./src/errors.ts";
// Httpexport { DrashRequest as Request } from "./src/http/request.ts";export { Resource } from "./src/http/resource.ts";export { DrashResponse as Response } from "./src/http/response.ts";export { Service } from "./src/http/service.ts";
// Export members from the IMPORTS section aboveexport { Interfaces, Server, Types };
export type { IResource, IService } from "./src/interfaces.ts";