internal HttpProfileClient(OverwatchConfig config) : base(config) { _client = new HttpClient { BaseAddress = new Uri("https://playoverwatch.com/en-gb/career/") }; }
public MockProfileClient(OverwatchConfig config) : base(config) { _mockData = new ProfileRequestData("https://playoverwatch.com/en-gb/career/pc/eu/SirDoombox-2603", File.ReadAllText("TestSource.txt"), Platform.Pc); }
public OverwatchClient(OverwatchConfig config = null) { _profileParser = new ProfileParser(); Config = config ?? new OverwatchConfig.Builder().Default(); _profileClient = new HttpProfileClient(Config); }
internal OverwatchClient(ProfileClient profileClient, OverwatchConfig config) { _profileClient = profileClient; _profileParser = new ProfileParser(); Config = config; }
protected ProfileClient(OverwatchConfig config) { _config = config; }