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

Improve syncthing REST client with Swift Codable #61

Open
xor-gate opened this issue Jul 18, 2018 · 2 comments
Open

Improve syncthing REST client with Swift Codable #61

xor-gate opened this issue Jul 18, 2018 · 2 comments

Comments

@xor-gate
Copy link
Member

Currently syncthing daemon HTTP REST calls are handbrewed, we should map them to native objects which is more convienent using https://github.com/RestKit/RestKit

@leszarna
Copy link

I am pretty sure handbrewed is better than this library because RestKit:

  • it is too big and does too much,
  • it depends on old AFNetworking
  • it has maintenance problems, bugs and questionable design.
    My advise is to use newest Apple protocol named Codable (https://developer.apple.com/documentation/swift/codable). There is not much work with this and it's robust solution ready for
    future updates and improvements.

@xor-gate
Copy link
Member Author

Thanks @leszarna for your comment.

@xor-gate xor-gate changed the title Improve syncthing REST client with RestKit Improve syncthing REST client with Swift Codable Aug 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants