refactor(httpkernel): introduce configuration object for flexibility
- Replace individual constructor arguments with a configuration object. - Add IHttpKernelConfig interface to standardize configuration structure. - Refactor route builder and response decorator usage to use config. - Simplify code and improve extensibility by consolidating parameters. Signed-off-by: Max P. <Mail@MPassarello.de>
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
// deno-coverage-ignore-file
|
||||
|
||||
export { isHttpMethod, validHttpMethods } from './HttpMethod.ts';
|
||||
export type { HttpMethod } from './HttpMethod.ts';
|
||||
export type { Params } from './Params.ts';
|
||||
|
Reference in New Issue
Block a user