Code Monkey home page Code Monkey logo

Comments (3)

pishguy avatar pishguy commented on August 11, 2024

+1

from adonis-websocket-client.

thetutlage avatar thetutlage commented on August 11, 2024

If you are just getting started with AdonisJS, then I recommend using v5 along with socket.io. Here's a blog post on same https://preview.adonisjs.com/blog/socketio-with-adonisjs-v5

We will eventually depreciate our Websocket implementation in favour of socket.io, since writing clients for every platform is very demanding and we want to avoid that

from adonis-websocket-client.

zhurlik avatar zhurlik commented on August 11, 2024

Hi, @thetutlage!

I would like to clarify whether it is possible to expect new releases with some fixes or changes in the near future.
On one of the projects we are using AdonisJs 4.1. I followed the instruction from the official site AdonisJs WebSocket for running the websocket server and the websocket client in the browser.
However when I decided to use the client under Worker I faced with a couple of the issues related with access to window inside the client code. I saw that some of them were fixed however I ran into them in "@adonisjs/websocket-client": "^1.0.9" that's required me to make a hot patch locally.
Regarding to your last comment, does it mean that you are suggesting to switch to socket.io instead of using the approach that is allowed by AdonisJs 4.1.

Thanks,
Vlad

from adonis-websocket-client.

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.