leomon
2025-06-05 e445652b1c6b78ce601d3816b3d75c9b9e0df198
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.oying.config.webConfig;
 
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;
 
/**
 * @author Z
 * @date 2019-08-24 15:44
 */
@Configuration
public class WebSocketConfig {
 
    @Bean
    public ServerEndpointExporter serverEndpointExporter() {
        return new ServerEndpointExporter();
    }
}