UNPKG

@node-server/renderer

Version:

NodeServerJs is a library with standard feature implemented for web and api

19 lines (17 loc) 443 B
import { Api, ApiResponse } from "./api"; import { ServerConfiguration } from "@node-server/utils"; export class Handler { extention:string = "*"; Config:ServerConfiguration; Handle(api:Api, req, res):Promise<ApiResponse>{ return null; } Init(coreConfig:ServerConfiguration) { this.Config = coreConfig; } Create(filepath , api_name , data) { return null; } }