Commit Graph

10 Commits

Author SHA1 Message Date
15db8515d6 perf: 优化监听进程 2026-02-04 02:36:12 +08:00
0f8986b491 update 2026-01-26 01:09:20 +08:00
911f03b4bd fix mini modules 2026-01-25 22:12:04 +08:00
8a1aff4c50 update 2026-01-25 21:19:28 +08:00
a6a7e74559 feat: Refactor server implementation to support Bun and Node environments
- Introduced `ServerNode` and `BunServer` classes to handle server logic for Node and Bun respectively.
- Updated `App` class to initialize the appropriate server based on the runtime environment.
- Enhanced `parseBody` function to handle request body parsing for both environments.
- Modified WebSocket handling to support Bun's WebSocket upgrade mechanism.
- Improved error handling and response structure across the server implementation.
- Added support for custom middleware in the server's request handling.
- Refactored server base functionality into `ServerBase` for better code organization.
- Updated type definitions to reflect changes in server options and listener handling.
- Added a new demo for testing the server functionality with various request types.
2025-12-20 05:11:51 +08:00
10506503eb update: add listen process 2025-10-15 20:48:20 +08:00
27b63e0a2b update 2025-10-14 15:16:41 +08:00
d2ebb5f488 fix: add app-barowser for browser 2025-06-12 15:02:16 +08:00
e0c7d40a9c add queryRoute for only return code data message 2024-11-26 19:25:43 +08:00
733677f3f3 init router 2024-10-16 00:47:30 +08:00