use of org.springframework.integration.websocket.ServerWebSocketContainer in project faf-java-server by FAForever.
the class WebsocketAdapterConfig method serverWebSocketContainer.
@Bean
public IntegrationWebSocketContainer serverWebSocketContainer() {
ServerWebSocketContainer container = new ServerWebSocketContainer("/ws");
container.setAllowedOrigins("*");
return container;
}
Aggregations