@nodearch/express
Version:
nodearch express server
22 lines • 880 B
TypeScript
import { ConfigManager } from '@nodearch/core';
import { IHttpErrorsOptions } from '../errors/interfaces.js';
import http from 'node:http';
import https from 'node:https';
import { IExpressStatic, IHttpLogger, IJsonParserOptions, ITextParserOptions, IUrlencodedParserOptions } from './interfaces.js';
import { IExpressMiddlewareHandler } from '../middleware/interfaces.js';
export declare class ExpressConfig {
hostname: string;
port: number;
httpPath?: string;
http?: http.ServerOptions;
https?: https.ServerOptions;
httpErrors?: IHttpErrorsOptions;
static?: IExpressStatic[];
use?: IExpressMiddlewareHandler[];
jsonParser: IJsonParserOptions;
textParser: ITextParserOptions;
urlencodedParser: IUrlencodedParserOptions;
httpLogger: IHttpLogger;
constructor(config: ConfigManager);
}
//# sourceMappingURL=express.config.d.ts.map