Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FastifyEngine

Hierarchy

  • FastifyEngine

Implements

Index

Constructors

constructor

Accessors

app

  • get app(): FastifyInstance<Server, IncomingMessage, ServerResponse>

providers

  • get providers(): any[]

Methods

addAnyRoute

  • addAnyRoute(handler: (event: WebEvent) => void): void

addConnectMiddleware

  • addConnectMiddleware(path: string, middleware: any): void

addRoute

  • addRoute(method: string, path: string, handler: (event: WebEvent) => void, middleware?: any): void

listen

sendJsonBody

  • sendJsonBody(routeEvent: WebEvent, body: any): void

Generated using TypeDoc