/// <summary> /// Creates a new http client settings with blank defaults /// </summary> public HttpClientSettings() { Serializers = new List <ISerializer>(); Authenticator = new NullAuthenticator(); NamingConvention = new DefaultNamingConvention(); ArrayFormatter = new MultipleValuesArrayFormatter(); Serializers.Add(new DefaultJsonSerializer()); Serializers.Add(new TextPlainSerializer()); Middleware.Append(new TimeoutMiddleware()); Middleware.Append(new UserAgentMiddleware()); }