java110
2020-06-08 c02aabea351673f20c4745a884382371bb78cbbf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.java110.front.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();
    }
}