summaryrefslogtreecommitdiff
path: root/FireBase/Query/SilentQuery.cs
blob: 15584f6ee448731f65ca2b373457793ddfc30245 (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";
        }
    }
}