Esempio n. 1
0
        /// <summary>
        /// Attempt to enable the channel by fetching intercept.json
        /// </summary>
        public bool TryInit()
        {
            InterceptChannel channel = null;

            if (InterceptChannel.TryCreate(_source, _cache, out channel))
            {
                _channel     = channel;
                _initialized = true;
                return(true);
            }

            return(false);
        }