-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I use "system.multicall" to call more than one methods ? #39
Comments
the xml request looks like this <?xml version="1.0"?>
<methodCall>
<methodName>system.multicall</methodName>
<params>
<param>
<value>
<array>
<data>
<value>
<struct>
<member>
<name>methodName</name>
<value>main.get_trx_state</value>
</member>
<member>
<name>params</name>
<value>
<array>
<data>
<value><nil/></value>
</data>
</array>
</value>
</member>
</struct>
</value>
<value>
<struct>
<member>
<name>methodName</name>
<value>main.get_frequency</value>
</member>
<member>
<name>params</name>
<value>
<array>
<data>
<value><nil/></value>
</data>
</array>
</value>
</member>
</struct>
</value>
<value>
<struct>
<member>
<name>methodName</name>
<value>rig.get_mode</value>
</member>
<member>
<name>params</name>
<value>
<array>
<data>
<value><nil/></value>
</data>
</array>
</value>
</member>
</struct>
</value>
<value>
<struct>
<member>
<name>methodName</name>
<value>rig.get_bandwidth</value>
</member>
<member>
<name>params</name>
<value>
<array>
<data>
<value><nil/></value>
</data>
</array>
</value>
</member>
</struct>
</value>
</data>
</array>
</value>
</param>
</params>
</methodCall> |
Fundamentally there's nothing special to It does need to be implemented in the server, but aside from that it's just a regular function which takes an array of So yes, if the server you're accessing supports |
I am a golang new user.
but I don't know how can I call more than one methods at the same time, by using "system.multicall".
thanks alot.
The text was updated successfully, but these errors were encountered: