Closed smolchanovsky closed 1 year ago
Do you want additional method like AddRestNClientTransient, AddRestNClientSingleton, etc.. or additional option for current methods?
Ideally, we need both, but perhaps there are enough AddRestNClientTransient
, AddRestNClientSingleton
and AddRestNClientScoped
methods for the first time.
Well... I've done both.
Now clients are created as singletons. This does not allow using non-singleton instance classes to create it.