Page History
게임 메시지처리를위해 웹소켓을 이용할것이며,
스프링에 웹소켓을 먼저 탑재를 시도 해봅시다.
디펜던시
Code Block | ||||
---|---|---|---|---|
| ||||
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-websocket</artifactId> </dependency> <dependency> <groupId>org.webjars</groupId> <artifactId>webjars-locator-core</artifactId> </dependency> <dependency> <groupId>org.webjars</groupId> <artifactId>sockjs-client</artifactId> <version>1.0.2</version> </dependency> <dependency> <groupId>org.webjars</groupId> <artifactId>stomp-websocket</artifactId> <version>2.3.3</version> </dependency> |
...