最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

ruby on rails - How do I close the connection with custom code - Stack Overflow

programmeradmin6浏览0评论

In my rails app I'm using ActionCable and I want to close the websocket connection with the client(using electron) with a custom code. In its documentation I found that I can't pass the code to the disconnect method and when I tried looking it up I found nothing.

has anyone tried doing that? can there be other ways to establish that behaviour?

发布评论

评论列表(0)

  1. 暂无评论