I want to write a client library that makes HTTP requests to a service and then parses the JSON response received and transform it to the appropriate type.
I have a very basic idea of how to go about doing this using reqwest and serde.
But I was wondering if there are any existing libraries that I can use as reference so that I can get some ideas about good practices and so that I do not end up reinventing the wheel poorly.
Let me know if I am being unclear.
I think this is the right way to go. After all, you have two steps in your process and the exact two libraries for it.
You might want to ponder async vs sync when it comes to reqwest, the answer depends largely on how you'd use your library.
Well, then I guess you can get to implementing!
May 7, 2022, 6:14am
You can check out this
earlier post for ideas.
August 5, 2022, 6:14am
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.