UNPKG

@teclone/r-server

Version:

A lightweight, extensible web-server with inbuilt routing-engine, static file server, file upload handler, request body parser, middleware support and lots more

15 lines (14 loc) 552 B
import { Method } from '../@types'; export declare const SINGLE_TOKEN_REGEX: RegExp; export declare const DOUBLE_TOKEN_REGEX: RegExp; export declare const ERROR_LEVELS: { WARNING: string; FATAL: string; }; export declare const ALLOWED_METHODS: string[]; export declare const CRLF = "\r\n"; export declare const BLANK_LINE: string; export declare const assignRouteId: () => number; export declare const assignMiddlewareId: () => number; export declare const ALL_METHODS: Method[]; export declare const DEFAULT_CONFIG_FILE = ".server.config.js";