Fixiaobai
2023-11-17 2fb28b36f15de26249ae34160e1accf118c011c7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.chinaztt.mes.common.config;
 
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;
 
/**
 * @Author 张宾
 * @Date 2023/11/13
 */
 
@Configuration
public class WebSocketConfig {
 
    @Bean
    public ServerEndpointExporter serverEndpointExporter() {
        return new ServerEndpointExporter();
    }
}