JSON RPC-什么是"id"?为了? [英] JSON RPC - What is the "id" for?

查看:79
本文介绍了JSON RPC-什么是"id"?为了?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不明白JSON RPC中的ID是什么.另外,在开发工具箱时不使用JSON-RPC.org的标准被认为有多糟糕? JSON-RPC世界似乎有些模棱两可.

I don't understand what the ID is for in JSON RPC. Also, how bad is it considered to not use JSON-RPC.org's standards when developing a toolkit? There seems to be some ambiguity in the JSON-RPC world.

P.S.我指的ID是此处的ID:

P.S. The ID I'm referring to is the id in here:

{"params":["Hello","World"],"method":"hello_world","id":1}

推荐答案

不能保证以您要求的顺序返回答案.该ID是为了帮助您解决问题.

You're not guaranteed to get your answers back in the order you asked for them; the id is to help you sort that out.

这篇关于JSON RPC-什么是"id"?为了?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆