mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-07-01 03:54:23 +08:00
Optimize channel operations by introducing reusable context-aware send functions (`send` and `sendErr`) across `wsrelay`, `handlers`, and `cliproxy`. Ensure graceful handling of canceled contexts during stream operations.