UNPKG

web-dev-server

Version:

Node.js simple http server for common development or training purposes.

13 lines (12 loc) 417 B
/// <reference types="node" /> import { Stats } from "fs"; import { ErrorsHandler } from "./Error"; import { Response } from "../Response"; export declare class FilesHandler { protected errorsHandler: ErrorsHandler; constructor(errorsHandler: ErrorsHandler); /** * @summary Send a file: */ HandleFile(fileFullPath: string, fileName: string, stats: Stats, res: Response): void; }