actionhero
Version:
actionhero.js is a multi-transport API Server with integrated cluster capabilities and delayed tasks
19 lines (18 loc) • 485 B
TypeScript
import { Initializer } from "../index";
export interface StaticFileApi {
searchLocations: Array<string>;
get?: Function;
sendFile?: Function;
searchPath?: Function;
checkExistence?: Function;
sendFileNotFound?: Function;
logRequest?: Function;
fileLogger?: Function;
}
/**
* Countains helpers for returning flies to connections.
*/
export declare class StaticFile extends Initializer {
constructor();
initialize(config: any): Promise<void>;
}