- luv is an Instant Messaging app. Here is the server part.
- Server applications are based on Vert.x.
hiwangzi / luv-server Goto Github PK
View Code? Open in Web Editor NEWThe server part of luv(IM app), based on Vert.x
The server part of luv(IM app), based on Vert.x
{
//2.修改channel(客户端-服务端)
"header": {
"topic": "channel.patch.4d2db3e6-b477-450b-ba3a-6ed30c1319d6", //REST
"id": "5b88f7bc-c42f-4c48-9ddf-019cc985cc41" //用于实现请求-响应的对应
},
"payload": {
"channelName": "new"
}
},
{
//2.修改channel(服务端-客户端)
"header": {
"topic": "channel.patch.4d2db3e6-b477-450b-ba3a-6ed30c1319d6",
"id": "5b88f7bc-c42f-4c48-9ddf-019cc985cc41",
"code": 200 //响应中包含该字段表示结果,参考HTTP状态码语义
},
"payload": {} //尽可能减少数据量
}
header
, payload
格式固定code
表示结果account_channel_sync
中增加数据暂时收工,道且长~
20180530
20180524
20180523
20180519
20180517
20180513
建立 WebSocket 连接后,新开页面,重复建立连接,前一个连接的 handlerId 在 eventbus 中仍有注册,需要清理
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.