Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Server

Implements

Index

Constructors

Methods

Constructors

  • new Server(config?: { address?: string; debug?: boolean; handler?: HandleFunction | Handler; handlerTimeout?: number; idleTimeout?: number; name?: string; ncsaLogFileSuffix?: string; port?: number; protocol?: "dual" | "ipv6" | "ipv4"; readHeaderTimeout?: number; readTimeout?: number; tls?: { certificate?: string; generate?: boolean; key?: string }; writeTimeout?: number }): Server
  • Parameters

    • Optional config: { address?: string; debug?: boolean; handler?: HandleFunction | Handler; handlerTimeout?: number; idleTimeout?: number; name?: string; ncsaLogFileSuffix?: string; port?: number; protocol?: "dual" | "ipv6" | "ipv4"; readHeaderTimeout?: number; readTimeout?: number; tls?: { certificate?: string; generate?: boolean; key?: string }; writeTimeout?: number }
      • Optional address?: string
      • Optional debug?: boolean
      • Optional handler?: HandleFunction | Handler
      • Optional handlerTimeout?: number
      • Optional idleTimeout?: number
      • Optional name?: string
      • Optional ncsaLogFileSuffix?: string
      • Optional port?: number
      • Optional protocol?: "dual" | "ipv6" | "ipv4"
      • Optional readHeaderTimeout?: number
      • Optional readTimeout?: number
      • Optional tls?: { certificate?: string; generate?: boolean; key?: string }
        • Optional certificate?: string
        • Optional generate?: boolean
        • Optional key?: string
      • Optional writeTimeout?: number

    Returns Server

Methods

  • start(): void
  • stop(): void

Generated using TypeDoc