Class WebSocketConfig

java.lang.Object
org.vrspace.server.config.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
Configures WebSocket path (default:/vrspace) and allowed origins (default:*)
Author:
joe
See Also:
  • Constructor Details

    • WebSocketConfig

      public WebSocketConfig()
  • 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