xin
2025-07-11 138e3641fbe49a114a399323aa145774f310627e
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();
    }
}