x/drash/src/interfaces.ts

A microframework for Deno's HTTP server with zero third-party dependencies
Go to Latest
import * as mod from "https://deno.land/x/drash@v2.7.0/src/interfaces.ts?code";

Interfaces

An interface to help type key-value pair objects with different values.

This is used to type a MIME type object. Below are more details on the members in this interface.

path_parameters A key-value string defining the path parameters that were passed in by the request. This value is set in resource_handler.ts#getResource().

Options to help create the server object.