abrudtkuhl / WordPressSharp

A C# client to to interact with the WordPress XML-RPC API
abrudtkuhl.github.io/WordPressSharp/
GNU General Public License v3.0
103 stars 49 forks source link

Support for asynchronous requests #69

Closed sewil closed 7 years ago

sewil commented 7 years ago

It would be really beneficial to have an option for asynchronous requests. I'm building a wpf application and on start-up I need to fetch categories and media items to fill the comboboxes with such information which delays the start-up by a number of seconds. Sure, Task is always an option, but it would be neat to have it built-in in the library to keep the code tidy.

abrudtkuhl commented 7 years ago

The XML-RPC.NET dependency used has support for async calls on proxy classes. I'd be interested in looking over a pull request adding async methods

http://xml-rpc.net/faq/xmlrpcnetfaq-3-0-0.html#2.8