WebSocket 실시간 통신 서비스 구축: 프론트엔드와 백엔드 분리 버전
백엔드 구성
의존성 추가
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-websocket</artifactId>
</dependency>
WebSocket 설정 클래스
package com.example.websocket.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.ann ...
7월 31일 05:36에 게시됨