PaySimple / PaySimpleSDK

.NET SDK for PaySimple API v4
Other
4 stars 1 forks source link

Update WebServiceRequest class to make HttpClient a member #14

Closed scottlance closed 7 years ago

scottlance commented 7 years ago

Update the WebServiceRequest class to make HttpClient a static member of the class Putting HttpClient in a using is apparently causes instability, therefore add HttpClient as a static member

Reference:

https://aspnetmonsters.com/2016/08/2016-08-27-httpclientwrong/

WillBDaniels commented 7 years ago

This has been fixed as per https://github.com/PaySimple/PaySimpleSDK/pull/17 which is merged, closing.