Giter VIP home page Giter VIP logo

Comments (4)

GammaSoul avatar GammaSoul commented on May 19, 2024 1

Thank you for the pointers i will have a stab at Extending the CefSharp version
Best Regards

from chromely.

mattkol avatar mattkol commented on May 19, 2024 1

I just added implementation for Duplex/Websocket for CefGlue. Please check it out to see if this is what you need - Real-time with Websocket.

from chromely.

mattkol avatar mattkol commented on May 19, 2024

Duplex communication is not supported out of the box at the moment. You may have to extend Chromely to achieve that.

  1. For CefSharp, to call JavaScript from C# you can extend CefSharpBrowserHost.cs. You need the browser object.

  2. You can use sockets. There is an explanation here and here.

  3. For CefGlue, what I have tried locally is implement CefGlue Http/WebSockets Server - Cef CefServer. At the moment, I don't have the bandwidth to complete it and fully support it. May be in near future. But you can look into that too.

from chromely.

GammaSoul avatar GammaSoul commented on May 19, 2024

Hi sorry I only just noticed this, but thanks. I wrote my own extension module on top the CefSharp version that im using. Its like your restful controllers but I can register input and output methods from .Net with corresponding JavaScript code function call in a singleton channel class and can either be one-way single message or return a value both ways between .Net and JavaScript. Thanks a lot for your help.

from chromely.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.