Function create

  • Creates a cookie

    Parameters

    • name: string

      cookie name

    • value: any

      cookie value

    • Optional days: number

      set expiration in days

    • Optional path: string

      URI path

    • Optional samesite: string = "Lax"

      CSRF policy (default: Lax)

    Returns void

Generated using TypeDoc