ovh / csharp-ovh

Thin wrapper around OVH's APIs. Handles all the hard work including credential creation and requests signing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scope timeout to Ovh.Client instance

LukeMarlin opened this issue · comments

Timeout param currently works in a strange way.
Ovh.Client._httpClient is static and instantiated at the first construction of an Ovh.Client.
During that first instantiation, _httpClient.Timeout is set to Ovh.Client constuctor's timeout param.

It means that during subsequent instantiations, the timeout param is effectively ignore.