Exemplo n.º 1
0
        protected override void Execute(CodeActivityContext context)
        {
            ChromeWebSocket socket = new ChromeWebSocket();

            int    fnId         = MessageId.Get(context);
            string webSocketURL = ChromeWebSocketURL.Get(context);
            string jsFunction   = JSFunction.Get(context);
            string result       = socket.executeJSInChrome(webSocketURL, fnId, jsFunction, false);
        }
Exemplo n.º 2
0
        protected override void Execute(CodeActivityContext context)
        {
            ChromeWebSocket socket = new ChromeWebSocket();

            int    fnId         = MessageId.Get(context);
            string webSocketURL = ChromeWebSocketURL.Get(context);
            string mwthod       = Method.Get(context);
            string parameters   = Params.Get(context);
            string result       = socket.executeJSInChrome(webSocketURL, fnId, mwthod, parameters, false);
        }