BigML.Client.Client C# (CSharp) Method

Client() public method

public Client ( string userName, string apiKey, bool devMode = false, string vpcDomain = "", bool useContextInAwaits = true, bool debug = false )
userName string
apiKey string
devMode bool
vpcDomain string
useContextInAwaits bool
debug bool
        public Client(string userName, string apiKey, bool devMode=false,
            string vpcDomain="", bool useContextInAwaits = true,
            bool debug = false)
        {
            _apiKey = apiKey;
            _username = userName;
            _dev = (devMode) ? "dev/" : "";
            _protocol = DefaultProtocol;
            _VpcDomain = (vpcDomain.Trim().Length > 0) ? vpcDomain : DefaultDomain;
            _useContextInAwaits = useContextInAwaits;
            _debug = debug;
        }