-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
HttpClient is a weird class. The class is not intended to be instantiated per request. There's more information on the docs. As a solution, I propose making WarframeClient implement IDisposable and maintain its own instance of HttpClient for the lifetime of the object, disposing of the client when the WarframeClient is disposed of. That way the same HttpClient instance is used for all requests made through the WarframeClient rather than a new instance being created per request.