using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace Hqub.MusicBrainz.API
{
public static class Configuration
{
static Configuration()
{
GenerateCommunicationThrow = true;
Proxy = null;
UserAgent = "Hqub.MusicBrainz/2.0";
}
///
/// If true, then all exceptions for http-requests to MusicBrainz (from class WebRequestHelper) will
/// throw up. Otherwise they will be suppressed.
///
public static bool GenerateCommunicationThrow { get; set; }
///
/// Gets or sets a used to query the webservice.
///
public static IWebProxy Proxy { get; set; }
///
/// Allow set cutstom user agent string.
///
public static string UserAgent { get; set; }
}
}