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.
HttpClientis 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 makingWarframeClientimplementIDisposableand maintain its own instance ofHttpClientfor the lifetime of the object, disposing of the client when theWarframeClientis disposed of. That way the sameHttpClientinstance is used for all requests made through theWarframeClientrather than a new instance being created per request.