类:WebSocketConfig

java.lang.Object
com.google.adk.web.websocket.WebSocketConfig
All Implemented Interfaces:
org.springframework.web.socket.config.annotation.WebSocketConfigurer

@Configuration @EnableWebSocket public class WebSocketConfig extends Object implements org.springframework.web.socket.config.annotation.WebSocketConfigurer
用于处理 WebSocket 连接的配置类。
  • 构造函数详细信息

  • 方法详细信息(Method Details)

    • registerWebSocketHandlers

      public void registerWebSocketHandlers(org.springframework.web.socket.config.annotation.WebSocketHandlerRegistry registry)
      Specified by:
      registerWebSocketHandlers in interface org.springframework.web.socket.config.annotation.WebSocketConfigurer