# Class 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
Configuration class for WebSocket handling.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `WebSocketConfig(LiveWebSocketHandler liveWebSocketHandler)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `registerWebSocketHandlers(org.springframework.web.socket.config.annotation.WebSocketHandlerRegistry registry)`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### WebSocketConfig

    @Autowired public WebSocketConfig(LiveWebSocketHandler liveWebSocketHandler)

- ## 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`