Quantcast
Channel: Tweetinvi a friendly Twitter C# library
Viewing all articles
Browse latest Browse all 4126

Edited Task: Refactor HttpHandlers to use a single method with TwitterQuery [2626]

$
0
0
Instead of initializing the HttpHandler before the query, it would be best to use all the information available in the TwitterQuery.

Therefore the base (TwitterHttpHandler) should have its own method SendAsync taking an ITwitterQuery as a parameter and it will be used each time.

If a user wants to use a different method he will just have to override this specific method and change the request based on ITwitterQuery parameters.

Viewing all articles
Browse latest Browse all 4126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>