Merge pull request #17827 from LonelyWhale/patch-1

Add rolling supports to koa-session
This commit is contained in:
Ron Buckton
2017-07-07 02:51:04 -07:00
committed by GitHub
+7
View File
@@ -44,6 +44,13 @@ declare namespace session {
*/
signed?: boolean;
/**
* (boolean) Force a session identifier cookie to be set on every response
* The expiration is reset to the original maxAge, resetting the expiration countdown
* default is false
*/
rolling?: boolean;
/**
* You can store the session content in external stores(redis, mongodb or other DBs)
*/