Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] 新增websocket #152

Merged
merged 3 commits into from
Jun 4, 2023
Merged

[feat] 新增websocket #152

merged 3 commits into from
Jun 4, 2023

Conversation

ColdingPoTaTo
Copy link
Collaborator

@ColdingPoTaTo ColdingPoTaTo commented Jun 4, 2023

  • API新增chat/list: 取得該用戶的所有聊天室清單
  • API新增chat/history: 取得指定聊天室的歷史訊息
  • 新增chatModel
  • 新增socket-io.js: 處理websocket相關的連線
  • 建立連線
  • message event: 即時訊息的傳送與接收
  • connectStatus event: 通知前端連線成更&用戶身分
  • errorMsg event: 通知前端錯誤訊息
  • disconnect: 結束websocket連線

This was linked to issues Jun 4, 2023
@erik1110 erik1110 merged commit d47c3e8 into develop Jun 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

C02 取得聊天室歷史訊息 C01 取得所有聊天室
2 participants