Change namespace to Jackett.Common (#2691)

Really hope I don't break anything with this
Went to have a go at .NET core and it just became too confusing for me with 'Jackett' namespace referring to both Jackett.Common and Jackett
This commit is contained in:
flightlevel
2018-03-10 19:05:56 +11:00
committed by GitHub
parent 7ab8138060
commit 3e5e48c3a0
291 changed files with 987 additions and 1468 deletions

View File

@@ -1,22 +1,16 @@
using AutoMapper;
using CurlSharp;
using Jackett.Models;
using Jackett.Services;
using NLog;
using System;
using System.Collections.Generic;
using System.IO;
using System;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using CloudFlareUtilities;
using Jackett.Services.Interfaces;
using Jacket.Common;
using Jackett.Models.Config;
using CurlSharp;
using CurlSharp.Enums;
using Jackett.Common.Models.Config;
using Jackett.Common.Services.Interfaces;
using NLog;
namespace Jackett.Utils.Clients
namespace Jackett.Common.Utils.Clients
{
public class UnixLibCurlWebClient : WebClient
{
@@ -101,7 +95,7 @@ namespace Jackett.Utils.Clients
protected async Task<WebClientByteResult> RunCurl(WebRequest request)
{
Jackett.CurlHelper.CurlResponse response;
CurlHelper.CurlResponse response;
if (request.Type == RequestType.GET)
{
response = await CurlHelper.GetAsync(request.Url, serverConfig, request.Cookies, request.Referer, request.Headers);