You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alright, I just realized fixing the response. I have been up and down serde trying to figure out why it couldn't parse the response, and its obviously because the Response object doesn't have the jsonrpc field either.
I will hopefully soon submit a patch which addresses that as well.
danielost
pushed a commit
to danielost/rust-jsonrpc
that referenced
this issue
May 22, 2024
I'm doing my first project in rust and when trying to use this library I noticed that the jsonrpc field is missing from the request, using wireshark:
A proper jsonrpc 2.0 message MUST include the jsonrpc field (and have a value of
"2.0"
) according to http://www.jsonrpc.org/specificationThat is, the proper request should be:
I haven't figured out enough of rust/cargo to submit a patch yet though.
The text was updated successfully, but these errors were encountered: