Skip to main content
Module

x/drash/mod.ts>Types.RequestOptions

A microframework for Deno's HTTP server with zero third-party dependencies
Go to Latest
type alias Types.RequestOptions
import { type Types } from "https://deno.land/x/drash@v2.7.1/mod.ts";
const { RequestOptions } = Types;

Request options to use when creating the Drash.Server object.

Examples

Example 1

const server = new Drash.Server({
  ...
  ...
  ...
  request: {
    read_body: false,
  }
});
definition: Partial<{ read_body: boolean; }>