wuxw
2022-01-15 e3aed650aa4e232f4583a00fc3de088276a2188b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.java110.api.configuration;
 
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;
 
/**
 * @ClassName WebSocketConfig
 * @Description TODO
 * @Author wuxw
 * @Date 2020/5/25 12:10
 * @Version 1.0
 * add by wuxw 2020/5/25
 **/
@Configuration
public class WebSocketConfig {
    @Bean
    public ServerEndpointExporter serverEndpointExporter() {
        return new ServerEndpointExporter();
    }
}