TeleHash 介绍
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“
},
TeleHash 官网
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。