mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-03 14:23:40 +01:00
Use EarlyLoadedService for anything that is not mandatory for kicking off plugin loader
This commit is contained in:
parent
532781308d
commit
7f5ef03917
43 changed files with 133 additions and 74 deletions
|
|
@ -3,6 +3,7 @@ using System.Net;
|
|||
using System.Net.Http;
|
||||
using System.Net.Http.Headers;
|
||||
|
||||
using Dalamud.Plugin.Internal;
|
||||
using Dalamud.Utility;
|
||||
|
||||
namespace Dalamud.Networking.Http;
|
||||
|
|
@ -11,7 +12,9 @@ namespace Dalamud.Networking.Http;
|
|||
/// A service to help build and manage HttpClients with some semblance of Happy Eyeballs (RFC 8305 - IPv4 fallback)
|
||||
/// awareness.
|
||||
/// </summary>
|
||||
[ServiceManager.BlockingEarlyLoadedService]
|
||||
[ServiceManager.BlockingEarlyLoadedService($"{nameof(PluginManager)} currently uses this.")]
|
||||
// ^ TODO: This seems unnecessary, remove the hard dependency at a later time.
|
||||
// Otherwise, if PM eventually marks this class as required, note that in the comment above.
|
||||
internal class HappyHttpClient : IInternalDisposableService
|
||||
{
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue