using System; using System.Net.Http; namespace Tgstation.Server.Host.Tests { /// /// Basic implementation for testiong /// public sealed class BasicHttpMessageHandlerFactory : IHttpMessageHandlerFactory, IDisposable { readonly HttpClientHandler handler = new(); public HttpMessageHandler CreateHandler(string name) => handler; public void Dispose() => handler.Dispose(); } }