Skip to main content
Module

x/drash/src/types.ts>RequestOptions

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

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; }>