Commit Graph

10 Commits

Author SHA1 Message Date
xiongxiao
309446c864 更新依赖项,添加 Connect 和 QueryConnect 类,重构导出结构 2026-01-15 21:21:35 +08:00
03f24318d2 temp 2026-01-13 13:28:17 +08:00
7975863af3 chore: update version to 0.0.47 and enhance WebSocket handling in server implementation 2025-12-21 03:26:15 +08:00
90ef73a97b chore: update version to 0.0.43 and enhance request/response types for Bun server 2025-12-20 23:22:32 +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
cc74dc6803 update add no path and random path 2025-10-22 17:05:20 +08:00
24166f9899 feat: add Mini 2025-10-15 21:13:37 +08:00
aeeb205e1e fix: fix types 2025-05-14 21:04:25 +08:00
52f5f58baf feat: add QueryRouterServer 2024-10-31 00:45:12 +08:00
733677f3f3 init router 2024-10-16 00:47:30 +08:00