uyem
Version:
WebRTC client-server SFU application
21 lines • 666 B
TypeScript
/// <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