Blame view

service-api/src/main/java/com/java110/api/configuration/WebSocketConfig.java 544 Bytes
88e030b7   王彪总   init project
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();
      }
  }