project-mirai / mirai-api-http

Mirai HTTP API (console) plugin
GNU Affero General Public License v3.0
1.66k stars 343 forks source link

feat: support auto reconnect for ReverseWebsocketAdapter #621

Closed BlueGlassBlock closed 1 year ago

BlueGlassBlock commented 2 years ago

Problem: it seemed that I directly imported exceptions from java.net.

Disclaimer: I don't know kotlin.

BlueGlassBlock commented 2 years ago

感谢 review,明天我会尝试修复这些东西()

不过直接引入 java.net 真的没问题吗

Karlatemp commented 2 years ago

没问题啊, mah是jvm only的

BlueGlassBlock commented 2 years ago

没问题啊, mah是jvm only的

主要是担心其他 engine 的行为不同(毕竟 ktor)