Merge pull request #310 from FrederikBolding/ssl-default

Made SSL enabled by default
This commit is contained in:
Michael Bisbjerg 2019-08-06 20:13:00 +02:00 committed by GitHub
commit 92de2bc820
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ namespace TMDbLib.Client
private RestClient _client;
private TMDbConfig _config;
public TMDbClient(string apiKey, bool useSsl = false, string baseUrl = ProductionUrl, JsonSerializer serializer = null, IWebProxy proxy = null)
public TMDbClient(string apiKey, bool useSsl = true, string baseUrl = ProductionUrl, JsonSerializer serializer = null, IWebProxy proxy = null)
{
DefaultLanguage = null;
DefaultCountry = null;