FlareSolverr / FlareSolverr/FlareSolverrSharp
Help needed: Correct way to use FlareSolverrSharp with .net 6/7 dependency injection
Open
- Dominant language
- C#
- Stars
- 254
- Forks
- 42
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I'm currently trying to use FlareSolverrSharp in one of my applications. Microsoft recommends to use a IHttpClientFactory for dependency injection. This library doesn't seem compatible with that. I always get this error:
`System.InvalidOperationException: The 'InnerHandler' property must be null. 'DelegatingHandler' instances provided to 'HttpMessageHandlerBuilder' must not be reused or cached.
Handler: 'FlareSolverrSharp.ClearanceHandler'`
Is it possible to use it like I'm currently trying to do?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.