Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
22 rindas
522 B
22 rindas
522 B
pirms 2 gadiem
|
package com.aiprose.im.config;
|
||
|
|
||
|
import org.springframework.context.annotation.Bean;
|
||
|
import org.springframework.context.annotation.Configuration;
|
||
|
import org.springframework.web.socket.server.standard.ServerEndpointExporter;
|
||
|
|
||
|
/**
|
||
|
* @author yanpeng
|
||
|
* @version 1.0
|
||
|
* @desc TODO
|
||
|
* @company 北京中经网软件有限公司
|
||
|
* @date 2022/2/25 13:45
|
||
|
*/
|
||
|
@Configuration
|
||
|
public class WebSocketConfig {
|
||
|
|
||
|
@Bean
|
||
|
public ServerEndpointExporter serverEndpointExporter(){
|
||
|
return new ServerEndpointExporter();
|
||
|
}
|
||
|
}
|