wujian
2024-02-22 268beb4ebc1e5b8d4ad715b71cd64a0944073a87
提交 | 用户 | 时间
268beb 1 package com.jcdm.framework.websocket;
W 2
3 import org.springframework.context.annotation.Bean;
4 import org.springframework.context.annotation.Configuration;
5 import org.springframework.web.socket.server.standard.ServerEndpointExporter;
6
7 /**
8  * websocket 配置
9  * 
10  * @author ruoyi
11  */
12 @Configuration
13 public class WebSocketConfig
14 {
15     @Bean
16     public ServerEndpointExporter serverEndpointExporter()
17     {
18         return new ServerEndpointExporter();
19     }
20 }