aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/PPCWebClient.cs
blob: 318512fbb0e872754021466964a390658d9a1d90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #888888 } /* Comment */
.highlight .err { c
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Settings;
using Tango.Web;
using Tango.Web.Security;

namespace Tango.PPC.Common.Web
{
    public class PPCWebClient : PPCWebClientBase
    {
        public PPCWebClient(DeploymentSlot environment) : base(environment)
        {
        }

        public PPCWebClient(DeploymentSlot environment, string token) : base(environment, token)
        {
        }

        public PPCWebClient(string token) : this(SettingsManager.Default.GetOrCreate<PPCSettings>().DeploymentSlot, token)
        {
        }

        public PPCWebClient() : this(null)
        {
        }

        public PPCWebClient(string address, string token) : base(address, token)
        {
        }

        public PPCWebClient(PPCWebClient other, TimeSpan requestTimeout) : base(other)
        {
            RequestTimeout = requestTimeout;
        }
    }
}