TeleHash 是一个新的用来实时和去中心化的JSON交互协议,可让应用在网络的边界直接进行连接。受益于 TeleHash,应用程序之间可高效的进行路由和分发小的数据。
示例:
// basic Telex with example command { “_ring”:43723, “.see”:[“5.6.7.8:23456”,”11.22.33.44:11223”], }
// Telex with example signals { “+end”:”a9993e364706816aba3e25717850c26c9cd0d89d”, “+foo”:”0beec7b5ea3f0fdbc95d0dd47f3c5bc275da8a33” }
// Telex of a normal JSON object sent between to Switches { “_to”:”1.2.3.4:5678”, “_line”:63546230, “profile_image_url”: "http://a3.twimg.com/profile_images/852841481/Untitled_3_normal.jpg”, “created_at”: “Sat, 08 May 2010 21:46:23 +0000”, “from_user”: “pelchiie”, “metadata”: { “result_type”: “recent” }, “to_user_id”: null, “text”: “twitter is dead today.”, “id”: 13630378882, “from_user_id”: 12621761, “geo”: null, “iso_language_code”: “en”, “source”: “href="http://twitter.com/">web“ },