Skip to content
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

Support method names, that contain periods #53

Open
ccb23 opened this issue Feb 6, 2019 · 1 comment
Open

Support method names, that contain periods #53

ccb23 opened this issue Feb 6, 2019 · 1 comment

Comments

@ccb23
Copy link

ccb23 commented Feb 6, 2019

jsonrpc_client! macro does not work with method names form kodi API. Kodi API uses dots in its methods: e.g. AudioLibrary.GetSongDetails. As far as I understand this should be JSON RPC 2.0 spec conform.

@pronebird
Copy link

pronebird commented Feb 21, 2019

I am not entirely sure it's possible to achieve without adding some attributes, which would be neat!

However, you can build the RPC client without using the jsonrpc_client! macro. See how we do that in our IPC client: https://github.com/mullvad/mullvadvpn-app/blob/master/mullvad-ipc-client/src/lib.rs#L118

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants