Chat 流程
2022-03-19 18:38:28 4 举报
Chat 流程描述
作者其他创作
大纲/内容
Send Message:Type: \"hotlink\
No
\"ChatState\":\"Reconnect\"
\"ChatState\":\"Active\"
Kill APPLose network connectionAirplane modeLock Screen
Get WebSocket URL in APP Cache
In Service Time
12:01Call POST /chat/enquiry
Save Token and UserId in Device
Yes
new Token
Wether a Token in Device
Open Chat Screen
Display input box
User and Agent have a talk
Agent End the Chat
Token Expired
404 and others error code
12:01Call GET /auth
Get WebSocket URL
\"ChatState\":\"Finished\"
Call GET /auth
403
Http code 200
CallPOST /chat/enquiry
Auth/Refresh Token
0 条评论
下一页