Christian Findlay
Christian Findlay
See #24 but for Android. This should be possible with Broadcast receivers, but the question is whether or not these trigger activities in external apps...
When the device is initialized, as much of the DeviceDefinition should be filled in as possible.
https://docs.microsoft.com/en-us/dotnet/architecture/microservices/implement-resilient-applications/use-httpclientfactory-to-implement-resilient-http-requests RestClient.Net needs the same thing. To whatever extent is possible, the implementation should be the same and piggyback on the exciting work in Microsoft.Extensions.Http https://github.com/dotnet/runtime/blob/065bf96e5c298352c790b9a82564d57a745725f5/src/libraries/Microsoft.Extensions.Http/src/DependencyInjection/HttpClientFactoryServiceCollectionExtensions.cs
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/fundamentals/http-requests.md https://github.com/dotnet/runtime/blob/065bf96e5c298352c790b9a82564d57a745725f5/src/libraries/Microsoft.Extensions.Http/src/DefaultHttpClientFactory.cs https://docs.microsoft.com/en-us/dotnet/architecture/microservices/implement-resilient-applications/use-httpclientfactory-to-implement-resilient-http-requests The real IHttpClientFactory doco: https://docs.microsoft.com/en-gb/aspnet/core/fundamentals/http-requests?view=aspnetcore-2.1 https://docs.microsoft.com/en-us/dotnet/architecture/microservices/implement-resilient-applications/use-httpclientfactory-to-implement-resilient-http-requests http://www.nimaara.com/2016/11/01/beware-of-the-net-httpclient/ https://contrivedexample.com/2017/07/01/using-httpclient-as-it-was-intended-because-youre-not/ https://aspnetmonsters.com/2016/08/2016-08-27-httpclientwrong/ Polly! https://docs.microsoft.com/en-us/dotnet/architecture/microservices/implement-resilient-applications/implement-http-call-retries-exponential-backoff-polly https://docs.microsoft.com/en-us/dotnet/architecture/microservices/implement-resilient-applications/use-httpclientfactory-to-implement-resilient-http-requests
https://stackoverflow.com/questions/8445770/system-net-http-httpclient-caching-behavior
https://www.stevejgordon.co.uk/using-httpcompletionoption-responseheadersread-to-improve-httpclient-performance-dotnet