FaasJS
Home
  • Guide
  • Documents
  • Templates
  • Changelog
  • Ecosystem

    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security
Home
  • Guide
  • Documents
  • Templates
  • Changelog
  • Ecosystem

    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security

Documents / @faasjs/core / SessionContent

Type Alias: SessionContent

SessionContent = string | number | {[key: string]: any; } | null | undefined

Allowed payload values stored in the session cookie.

Object-like payloads are the normal session shape. Direct string payloads can be encrypted by encode() but will not decode successfully unless they contain valid JSON.