UNPKG

uyem

Version:
21 lines 666 B
/// <reference types="node" /> import { ServerResponse, IncomingMessage } from 'http'; import DB from './db'; interface ServerHandlerProps { isDefaultAuth: boolean; res: ServerResponse; req: IncomingMessage; unitId: string; url: string; } declare class Http extends DB { private cloudPath; constructor({ prisma, cloudPath }: { prisma: DB['prisma']; cloudPath: string; }); getVideoHandler({ isDefaultAuth, res, unitId, url }: ServerHandlerProps): Promise<void>; getTmpHandler({ res, url, unitId, isDefaultAuth, req }: ServerHandlerProps): Promise<void>; } export default Http; //# sourceMappingURL=http.d.ts.map