Skip to content

Commit 1b15311

Browse files
committed
feat(endpoints): add new WebSocket endpoints for chat functionality
1 parent ffabb2a commit 1b15311

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/shared/config/endpoints.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ export const API_ENDPOINTS = {
5454
wsChatRead: "/app/chat.read",
5555
wsUserQueueChatRooms: "/user/queue/chat.rooms",
5656
wsUserQueueErrors: "/user/queue/errors",
57+
wsEnterChatRoom: "/app/chat.enter",
58+
wsLeaveChatRoom: "/app/chat.leave",
59+
wsCheckPing: "/app/chat.ping",
5760
wsChatRoom: (chatRoomId: number | string) => `/topic/chat.rooms.${chatRoomId}`,
5861
wsRealTimeRead: (chatRoomId: number | string) => `/topic/chat.read.${chatRoomId}`,
5962

0 commit comments

Comments
 (0)