- 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.
21 lines
501 B
TypeScript
21 lines
501 B
TypeScript
/**
|
|
* Unified routing module
|
|
* Provides all routing functionality in a centralized location
|
|
*/
|
|
|
|
// Export all types
|
|
export * from './types.js';
|
|
|
|
// Export all matchers
|
|
export * from './matchers/index.js';
|
|
|
|
// Export specificity calculator
|
|
export * from './specificity.js';
|
|
|
|
// Export route management
|
|
export * from './route-manager.js';
|
|
export * from './route-utils.js';
|
|
|
|
// Convenience re-exports
|
|
export { matchers } from './matchers/index.js';
|
|
export { RouteSpecificity } from './specificity.js'; |