swaf/dist/components/RedisComponent.d.ts

12 lines
396 B
TypeScript
Raw Normal View History

2020-04-22 15:52:17 +02:00
import ApplicationComponent from "../ApplicationComponent";
import { Express, Router } from "express";
import { Store } from "express-session";
export default class RedisComponent extends ApplicationComponent<void> {
private redisClient?;
private store?;
start(app: Express, router: Router): Promise<void>;
stop(): Promise<void>;
getStore(): Store;
canServe(): boolean;
}