VITE_SSE_ENABLE=true
<sse uri="/admin/sse/info"/>
const Sse = defineAsyncComponent( () => import("/@/components/SSE/index.vue") );
<!--websocket 支持--> <dependency> <groupId>com.pig4cloud</groupId> <artifactId>pigx-common-sse</artifactId> </dependency>
SseEmitter sseEmitter = SseEmitterHolder.getSseEmitter("1"); sseEmitter.send("message");
📄 common-websocket 模块使用 📄 encrypt-api 接口加解密使用