using NCC.Dependency; using System; namespace NCC.RemoteRequest { /// /// 远程请求静态类 /// [SuppressSniffer] public static class Http { /// /// 获取远程请求代理 /// /// /// IHttpDispatchProxy public static THttpDispatchProxy GetHttpProxy(IServiceProvider serviceProvider = default) where THttpDispatchProxy : class, IHttpDispatchProxy { return App.GetService(serviceProvider); } } }