How to use @adonisjs/response - 1 common examples

To help you get started, we’ve selected a few @adonisjs/response examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github adonisjs / adonis-framework / packages / core / src / Context / index.ts View on Github external
constructor (req: IncomingMessage, res: ServerResponse) {
    super()
    this.request = new Request(req, res, {})
    this.response = new Response(req, res, {})
  }
}

@adonisjs/response

Nodejs http response builder

MIT
Latest version published 6 years ago

Package Health Score

61 / 100
Full package analysis

Popular @adonisjs/response functions