Coder Social home page Coder Social logo

Comments (3)

roberto-butti avatar roberto-butti commented on June 17, 2024 1

Thank you, @moneya, for your interest.
This PoC (proof of concept) currently implements a simple broadcast, that is, the client sends a message to the server, and the server takes care of delivering this message to all connected clients (broadcast).
The client-client communication should still go through the server specifying the recipient. It is possible to redefine the default WebSocketHandler by extending the WebSocketHandlerInterface interface. To set a new WebSocketHandler you can use the setWebSocketHandler method in the LaraSockCommand.

Honestly, I had slowed down the development of this PoC because of the little feedback I received. But if there is interest, it can be resumed.

from lara-sock.

moneya avatar moneya commented on June 17, 2024

Well, does this work with pusher package / protocol?
In pusher there's this .whisper() function we using for (user is typing).
I think that's client to client.

And so client to server works and server to client works right now?.

Do I need a route , like the below to register an handler?

WebSocketsRouter::webSocket('/my-websocket', \App\MyCustomWebSocketHandler::class);

And what about security?

from lara-sock.

moneya avatar moneya commented on June 17, 2024

I have been following this project for a while, since you started.
But didn't checkback until now.
And yes am interested in this project.
I need a swoole alternative to laravel websocket package.

from lara-sock.

Related Issues (1)

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.