mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Fix compilation under mono #117. Allow explicit web client selection. Init curl at application start.
This commit is contained in:
@@ -24,6 +24,10 @@ namespace Jackett.Utils.Clients
|
||||
logger = l;
|
||||
}
|
||||
|
||||
public void Init()
|
||||
{
|
||||
}
|
||||
|
||||
public async Task<WebClientByteResult> GetBytes(WebRequest request)
|
||||
{
|
||||
logger.Debug(string.Format("UnixSafeCurlWebClient:GetBytes(Url:{0})", request.Url));
|
||||
|
Reference in New Issue
Block a user