jrpc
is a simple JSONRPC 2.0 client written in Swift.
It offers support structure to perform JSONRPC requests and to process responses.
This pod is in development and therefore it is still in its beta release, however everything that gets into master is toroughly tested and reviewed, so it should work for what it does. If you have suggestions, improvements, or find bugs, feel free to fork and pull request!
- The ID of a JSONRPC request/response is always treated as a string, the coice has been made to simplify the API and a better decision has to be made about this.
- The client handles one request at time, I'm still not sure I want to change this behaviour, but it might be handy.
- The client doesn't offer support for any kind of http authentication right now, but it could be easily solved by injecting a custom url session.
- This readme lacks of examples and better descriptions, and they will come soon with the rest as well in the near future.
- Automated tests aren't running on the CI, I'm making sure they pass locally however.
jrpc is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "jrpc", '~>0.1.0-beta'
Marco Musella
jrpc is available under the MIT license. See the LICENSE file for more info.