Replies: 1 comment
-
I would probably be able to give you a more precise answer if I understood a bit more concretely what you're trying to do. You could try fleshing out an example. But, take a look at how Glaze uses Feel free to submit pull requests if you discover ways to make this code easier to work with. Thanks for the feedback! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey! I'm trying to use JSONRPC and I don't understand why it doesn't have a tuple unpacking template. I end up having to write all the rpc methods by hand, but I want to use
std::tuple
orglz::tuple
and loop through all the rpc methods forclient::get_request_map
when sending a request. Among other things, I tried to find documentation onglz::tuple
, because I thought that this was provided there, but I couldn’t get to it. Either this is an incredibly awkward interface or it's incredibly poorly documented. The example contains almost nothing.Here's what I did to achieve this:
I would like to know how this can be done more simply, if it is provided in principle, and how to correctly go through all the rpc methods to send a request?
Beta Was this translation helpful? Give feedback.
All reactions