0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-13 09:50:43 -05:00
server/project/src/di/Serializer.ts

12 lines
377 B
TypeScript
Raw Normal View History

import { IncomingMessage, ServerResponse } from "node:http";
2023-03-03 15:23:46 +00:00
export class Serializer {
public serialize(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: any): void {
2023-03-03 15:23:46 +00:00
throw new Error("Should be extended and overrode");
}
public canHandle(something: string): boolean {
2023-03-03 15:23:46 +00:00
throw new Error("Should be extended and overrode");
}
2023-11-15 20:35:05 -05:00
}