Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NoopHttpAdapter

Hierarchy

Implements

  • HttpServer<any, any>

Index

Constructors

constructor

Properties

Protected httpServer

httpServer: any

Protected Readonly instance

instance: any

Methods

close

  • close(): any

createMiddlewareFactory

delete

enableCors

  • enableCors(options: any): any

get

getHttpServer

  • getHttpServer(): any

getInstance

  • getInstance<T>(): T

getRequestHostname

  • getRequestHostname(request: any): any

getRequestMethod

  • getRequestMethod(request: any): any

getRequestUrl

  • getRequestUrl(request: any): any

getType

  • getType(): string

head

init

  • init(): Promise<void>

initHttpServer

  • initHttpServer(options: any): any

listen

  • listen(port: string | number, callback?: () => void): any
  • listen(port: string | number, hostname: string, callback?: () => void): any

options

patch

post

put

redirect

  • redirect(response: any, statusCode: number, url: string): void

registerParserMiddleware

  • registerParserMiddleware(): any

render

  • render(response: any, view: string, options: any): any

reply

  • reply(response: any, body: any): any

setErrorHandler

  • setErrorHandler(handler: Function, prefix?: string): any

setHeader

  • setHeader(response: any, name: string, value: string): any

setHttpServer

  • setHttpServer(httpServer: any): void

setNotFoundHandler

  • setNotFoundHandler(handler: Function, prefix?: string): any

setViewEngine

  • setViewEngine(engine: string): any

status

  • status(response: any, statusCode: number): any

use

  • use(...args: any[]): any

useStaticAssets

  • useStaticAssets(...args: any[]): any

Generated using TypeDoc