feat(user-creator-chat): WebSocket 메시지 계약을 추가한다

This commit is contained in:
2026-06-18 17:06:25 +09:00
parent d506ad9c39
commit fefd62c63a
2 changed files with 99 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
package kr.co.vividnext.sodalive.v2.usercreatorchat.websocket
import com.fasterxml.jackson.databind.JsonNode
data class UserCreatorChatWebSocketMessage(
val type: UserCreatorChatWebSocketMessageType,
val requestId: String?,
val roomId: Long,
val payload: JsonNode
)
enum class UserCreatorChatWebSocketMessageType {
JOIN_ROOM,
SEND_TEXT,
LEAVE_ROOM,
PING,
JOINED,
MESSAGE,
SEND_ACK,
ERROR,
PONG
}