isharpsolutions/Missing

Refactor HttpRequestUserFriendly

Closed this issue · 1 comments

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.

Still have not figured out to properly unittest this, but the current implementation has been battle-tested in other projects.