add im_.*

This commit is contained in:
aozhiwei 2020-08-24 20:50:41 +08:00
parent 203adbe1f4
commit 4523d8845c
2 changed files with 28 additions and 0 deletions

8
cpp/im_msgid.proto Normal file
View File

@ -0,0 +1,8 @@
package im;
//id定义
enum IMMessageId_e
{
_IMSocketConnect = 1;
_IMSocketDisconnect = 2;
}

20
cpp/im_proto.proto Normal file
View File

@ -0,0 +1,20 @@
package im;
//
enum Constant_e
{
MaxIMMsgId = 7;
}
message IMSocketConnect
{
optional bool is_websocket = 1;
optional string host = 2;
optional string url = 3;
optional string query_str = 4;
}
message IMSocketDisconnect
{
}