vue-native-websocket-vue3 icon indicating copy to clipboard operation
vue-native-websocket-vue3 copied to clipboard

支持vue3的websocket插件

Results 7 vue-native-websocket-vue3 issues
Sort by recently updated
recently updated
newest added

比如我可以自定义一个file,类似于SOCKET_ONMESSAGE,调用对应的file就可以获取过滤后的message

这是否属于原本的设计理念?是否有考虑优化这里 在很多场景下需要断线重连的,但是使用中发现一旦重连成功后,暴露的`$socket` 监听事件都失效了,只能是监听`pinia`中重连的状态重新挂载监听事件。

I am using **vite** and in **main.ts** file I have this error **Could not find a declaration file for module 'vue-native-websocket-vue3'. '..../node_modules/vue-native-websocket-vue3/dist/vueNativeWebsocket.common.js' implicitly has an 'any' type. Try `npm i...

比如在一个组件内接受两个不同url的websocket推送.该如何实现?

It would be nice to have the reconnect algorithm do exponential backoff to prevent clients from flooding the server. 如果重新连接算法能够进行指数退避,从而防止客户端淹没服务器,那就太好了。 Example 例子 ```js const EXPONENT_BASE = 1.15; // 指数基数 reconnect():...

Hi, Can you please check and update the dependencies? **npm warn deprecated [email protected]**: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you...