xin
2025-09-04 ea26c842829ef69be20ef86d6a546f45c6c5a258
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();
    }
}