jaysson / pusher_dart Goto Github PK
View Code? Open in Web Editor NEWUnofficial pusher client for dart
License: MIT License
Unofficial pusher client for dart
License: MIT License
I've been using this pre null-safety for an app connected to Laravel Echo.
To anyone wanting to use this for null-safety projects, I forked a copy of this and upgrade it to null-safety. You can use this https://github.com/rhyscoronado/pusher_dart
or we can always update this repo.
Pusher: {"event":"pusher:error","data":{"code":4001,"message":"App key 022f605af286ca4635bb not in this cluster. Did you forget to specify the cluster?"}}
If the credentials are wrong pusher show the above error and prints in the console, Kindly guide how to get this error
the following bind to pusher-error event does not show any data, Kindly guide thanks
channel.bind('pusher:error', (data) {
print(data);
});
_handlePusherError
should have null check for error code.
PusherOptions takes cluster as a parameter but I need to set host and port.
Can you guys help me to achieve that or add it to the package if you have time to do that?
I see that this package is simply generating an websocket url for connection with the cluster in the beginning, do you guys know where to provide wsPort, wssPort and hostname to this url?
wss://ws-${options.cluster}.pusher.com:443/app/$apiKey?protocol=5&client=dart-libPusher&version=0.1.0');
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.