WebSocketConfig.java
595 Bytes
package com.glsx.common.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;
/**
*
* @Title WebSocketConfig.java
* @Package com.glsx.common.config
* @Description TODO websocket配置
* @author zhanghj
* @date 2019年8月16日 上午11:19:15
* @version 1.0.0
*/
@Configuration
public class WebSocketConfig {
@Bean
public ServerEndpointExporter serverEndpointExporter() {
return new ServerEndpointExporter();
}
}