dmc-wamp Documentation

More indepth information about dmc-wamp.

WAMP Protocol

args / kwargs

The protocol uses two data structures to pass information between peers. The args component is a table treated as an array, and kwargs is a table as a dictionary. (In an RCP result, these names are changed to result and kwresult respectively.

RPC

onResult( event )

The event can have these items:

|| property || value || notes || | data | only if the RPC result is a single element. no other properties will be available | | results | if the RPC call returns elements in the "array" list | | kwresults | if the RPC call returns elements in the "hash" table list |

References