新增websocket

This commit is contained in:
duanhf2012
2020-04-21 14:40:31 +08:00
parent f74f3a812e
commit e590f0dce9
13 changed files with 631 additions and 6 deletions

View File

@@ -5,7 +5,7 @@
"ListenAddr":"127.0.0.1:8001",
"NodeName": "Node_Test1",
"remark":"//以_打头的表示只在本机进程不对整个子网开发",
"ServiceList": ["TestService1","TestService2","TestServiceCall","GateService","TcpService","HttpService"]
"ServiceList": ["TestService1","TestService2","TestServiceCall","GateService","TcpService","HttpService","WSService"]
}
]
}

View File

@@ -19,5 +19,11 @@
"LittleEndian":false,
"MinMsgLen":4,
"MaxMsgLen":65535
},
"WSService":{
"ListenAddr":"0.0.0.0:9031",
"MaxConnNum":3000,
"PendingWriteNum":10000,
"MaxMsgLen":65535
}
}