0x00pluto/HellaEngineMessage
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
==== is Simple Rpc message system ==== ==== Usage: $message = \hellaEngine\RPCMessage\RPCMessage::createWithRpc('schedule.schedule'); $message->setMessageBodyProperty('clientVersion', '1.2.0'); //加密形成网络消息 $messageString = \hellaEngine\RPCMessage\RPCMessageEncode::encodeMessages([$message]);; //.... //Http 请求,返回字符串 $responseString //.... $returnMessages = \hellaEngine\RPCMessage\RPCMessage::decode($responseString); =====