Comments (3)
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.
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lara-sock.