How to use the @adonisjs/cookie.parse function in @adonisjs/cookie

To help you get started, we’ve selected a few @adonisjs/cookie 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 / request / src / Request.ts View on Github external
private _parseCookies () {
    if (!this._parsedCookies) {
      this._parsedCookies = parseCookie(this.header('cookie')!, this._secret)
    }
  }

@adonisjs/cookie

Cookie parser for AdonisJs framework

MIT
Latest version published 6 years ago

Package Health Score

61 / 100
Full package analysis

Popular @adonisjs/cookie functions