Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/drash/src/services/graphql/deps.ts>Drash.Interfaces.IServerOptions

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

Options to help create the server object.

Properties

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