pao-aop-server
Version:
基于pao-aop的服务端框架
27 lines • 617 B
TypeScript
import * as express from 'express';
/**
* Session工具类
*/
export declare class Session {
req?: express.Request;
static fromArguments(args?: IArguments): Session;
/** Session 工具类 */
constructor(req?: express.Request);
/**
* 设置Session
* @param key 关键字
* @param value 值
*/
setValue?(key: string, value: any): void;
/**
* 获取Session
* @param key 关键字
*/
getValue?(key: string): any;
/**
* 销毁Session
* @param key 关键字
*/
deleteValue?(key: string): void;
}
//# sourceMappingURL=index.d.ts.map