Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
토큰으로 인증받고 /api/dm 경로로 websocket에 연결할 수 있습니다.
[GET] /api/dm/message/{message_id} - 메세지의 정보를 반환합니다.
[GET] /api/dm/sent - 사용자가 보낸 메세지를 반환합니다.
[GET] /api/dm/received - 사용자가 받은 메세지를 반환합니다.
[DELETE] /api/dm/{message_id} - 메세지를 삭제합니다.
websocket에 연결해서 서로 메세지를 주고 받을 수 있고, 주고 받은 메세지는 db에 저장되도록 구현했습니다.