UNPKG

ufiber

Version:

Next-gen webserver for node-js developer

24 lines 920 B
//#region src/consts.d.ts /** * Constant representing all HTTP methods in uppercase. */ declare const METHOD_NAME_ALL: "ALL"; /** * Constant representing all HTTP methods in lowercase. */ declare const METHOD_NAME_ALL_LOWERCASE: "all"; /** * Array of supported HTTP methods. */ declare const METHODS: readonly ["get", "post", "put", "delete", "options", "patch"]; /** * Error message indicating that a route cannot be added because the matcher is already built. */ declare const MESSAGE_MATCHER_IS_ALREADY_BUILT = "Can not add a route since the matcher is already built."; /** Default chunk size (512KB) */ declare const HIGH_WATER_MARK: number; declare const kMatch: unique symbol; declare const kCtxRes: unique symbol; declare const kCtxReq: unique symbol; //#endregion export { HIGH_WATER_MARK, MESSAGE_MATCHER_IS_ALREADY_BUILT, METHODS, METHOD_NAME_ALL, METHOD_NAME_ALL_LOWERCASE, kCtxReq, kCtxRes, kMatch };