using System; namespace WebApiClient { public class InitWebApiClient { public static void Init(string ip) { HttpApi.Register().ConfigureHttpApiConfig(c => { c.HttpHost = new Uri(ip); }); } } }