Skip to content

HttpClient usage #20

@TehPers

Description

@TehPers

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions