Skip to main content
Module

x/drash/mod.ts>Interfaces.IServerOptions

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

Options to help create the server object.

Properties

optional
cert_file: string
hostname: string
optional
key_file: string
port: number
protocol: "http" | "https"
optional
resources: Resource[]
optional
services: IService[]
optional
error_handler: new (...args: any[]) => IErrorHandler