예제 #1
0
 public static HttpClient PixivApi(string baseAddress)
 {
     return(new HttpClient(PixivApiHttpClientHandler.Instance(Settings.Global.UseDefaultProxy))
     {
         BaseAddress = new Uri(baseAddress)
     });
 }
예제 #2
0
 public static HttpClient PixivApi(string baseAddress, bool directConnect)
 {
     return(new HttpClient(PixivApiHttpClientHandler.Instance(directConnect))
     {
         BaseAddress = new Uri(baseAddress)
     });
 }