Refactor HttpRequestUserFriendly
Closed this issue · 1 comments
pingvinen commented
First of all it should be renamed to "EasyHttpRequest".
Second, it should be implemented with a base class "EasyHttpRequestBase" and specialized versions like "PostEasyHttpRequest" and "GetEasyHttpRequest".
An "EasyHttpRequestFactory" should be implemented that returns an instance based on a given enum value.
pingvinen commented
Still have not figured out to properly unittest this, but the current implementation has been battle-tested in other projects.