Closed LordMike closed 3 years ago
That's honestly the fault of Microsoft. They attach a lot of extensions to the service collection once you add their dependency. They make it convenient to use their libraries, but it is not a good design and adds confusion.
I'm working on streamlining how you can configure proxy, timeout etc. Documentation comes after.
The streamlining is finished. Documentation can be found in the SimpleS3.ExamplesAdvanced project.
Such as timeout.
For reference, SimpleS3 (when using
HttpClientFactory
) uses a client namedSimpleS3
. It can be configured like such (I need infinite timeouts):... buuut.. there's a simpler way, apparently. The
IHttpClientBuilder
fromUseHttpClientFactory()
allows one to configure the client: