コード例 #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);
        }
コード例 #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);
        }