Skip to content
Justin Skiles edited this page Apr 16, 2020 · 6 revisions

When constructing an interface from an interface factory, you can provide an instance to your own HttpClient. This allows you to maintain the lifetime of your HttpClient instances and provide customization unique to your scenarios.

HttpClient client = new HttpClient();
var steamUserInterface = webInterfaceFactory.CreateSteamWebInterface<SteamUser>(client);
Clone this wiki locally