Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "middleware/init"

Index

Variables

Functions

Variables

Const create

create: create = Object.create

Const setPrototypeOf

setPrototypeOf: any = Object.setPrototypeOf

Functions

Private Const init

  • init(app: Opine): opineInit
  • Initialization middleware, exposing the request and response to each other, setting locals if not defined, as well as defaulting the X-Powered-By header field.

    Parameters

    Returns opineInit

    init middleware

Generated using TypeDoc