Ejemplo n.º 1
0
        private void OpenHTTPView(object sender, EventArgs e)
        {
            var httpView = new HTTPView();

            _httpPresenter = new HTTPPresenter(httpView);
            UpdateViewPanel(_httpPresenter.HTTPView);
        }
Ejemplo n.º 2
0
        public HTTPPresenter(HTTPView httpView)
        {
            HTTPView      = httpView;
            KaptureConfig = KaptureConfig.GetInstance();
            Configuration = (Configuration)KaptureConfig.ConfigManager.Config;

            HTTPView.HTTPEnabled = Configuration.HTTP.HTTPEnabled;
            HTTPView.Endpoint    = Configuration.HTTP.Endpoint;
            HTTPView.CustomJson  = Configuration.HTTP.CustomJson;

            HTTPView.HTTPEnabledChanged += HTTPEnabledChanged;
            HTTPView.HTTPUpdated        += HTTPUpdated;
        }