コード例 #1
0
        /// <summary>
        /// Post a protocol to client
        /// </summary>
        /// <param name="proto"></param>
        public void ProtocolPost(HoxisProtocol proto)
        {
            string json = FF.ObjectToJson(proto);

            byte[] data = FF.StringToBytes(json);
            OnPost(data);
        }