summaryrefslogtreecommitdiff
path: root/FireBase/Query/SilentQuery.cs
blob: d09d38b1a03a3c82e8d6a5c78409a085fd99af98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
namespace Firebase.Database.Query
{
    /// <summary>
    ///     Appends print=silent to the url.
    /// </summary>
    public class SilentQuery : ParameterQuery
    {
        public SilentQuery(FirebaseQuery parent, FirebaseClient client)
            : base(parent, () => "print", client)
        {
        }

        protected override string BuildUrlParameter(FirebaseQuery child)
        {
            return "silent";
        }
    }
}