- Removed deprecated route utility functions in favor of direct matcher usage. - Updated imports to reflect new module structure for routing utilities. - Consolidated route manager functionality into SharedRouteManager for better consistency. - Eliminated legacy routing methods and interfaces, streamlining the HttpProxy and associated components. - Enhanced WebSocket and HTTP request handling to utilize the new unified HttpRouter. - Updated route matching logic to leverage matcher classes for domain, path, and header checks. - Cleaned up legacy compatibility code across various modules, ensuring a more maintainable codebase.
8 lines
168 B
TypeScript
8 lines
168 B
TypeScript
/**
|
|
* HTTP routing
|
|
*/
|
|
|
|
// Export the unified HttpRouter
|
|
export { HttpRouter } from './http-router.js';
|
|
export type { RouterResult, ILogger } from './http-router.js';
|