libvideo icon indicating copy to clipboard operation
libvideo copied to clipboard

IHttpClientFactory support

Open MaxLevs opened this issue 1 year ago • 2 comments

I really miss the feature to use the IHttpClientFactory to produce a HttpClient instance. It would be great to have this feature as well as DI support.

MaxLevs avatar Aug 18 '23 21:08 MaxLevs

Can u try write your own custom client like as https://github.com/omansak/libvideo/blob/master/src/libvideo.debug/CustomYoutubeClient.cs

omansak avatar Nov 02 '23 10:11 omansak

IHttpClientFactory requires .net standard 2.0 or higher, but current target is netstandard1.1. So, why not use HttpClient?

techiedesu avatar Nov 14 '23 13:11 techiedesu