nestjs-session:NestJS的惯用会话模块。 建立在`express-session` top之上

时间:2021-02-05 04:38:14
【文件属性】:
文件名称:nestjs-session:NestJS的惯用会话模块。 建立在`express-session` top之上
文件大小:102KB
文件格式:ZIP
更新时间:2021-02-05 04:38:14
express expressjs session nest express-session NestJS会话 NestJS的惯用会话模块。 建立在之上 :smiling_face_with_sunglasses: 该模块通过将数据存储在之一中并通过Cookie / Set-Cookie标头将会话ID传递给客户端来实现会话。 如果要将数据直接存储在Cookie ,可以查看 。 例 注册模块: // app.module.ts import { Module } from '@nestjs/common' ; import { NestSessionOptions , SessionModule } from 'nestjs-session' ; import { ViewsController } from './views.cont
【文件预览】:
nestjs-session-master
----.gitignore(921B)
----package.json(2KB)
----tslint.json(650B)
----package-lock.json(337KB)
----src()
--------retriesMiddleware.ts(890B)
--------index.ts(790B)
----.travis.yml(1KB)
----CONTRIBUTING.md(200B)
----CODE_OF_CONDUCT.md(3KB)
----LICENSE(1KB)
----.mergify.yml(223B)
----tsconfig.json(425B)
----.github()
--------ISSUE_TEMPLATE()
----__tests__()
--------routing.spec.ts(4KB)
--------forRoot.spec.ts(1KB)
--------forRootAsync.spec.ts(2KB)
--------utils()
--------retires.spec.ts(5KB)
----examples()
--------in-memory-async()
--------redis-store()
--------in-memory()
----README.md(9KB)
----tsconfig.build.json(57B)
----.npmignore(145B)
----.prettierrc(52B)

网友评论