We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm working to implement this and utilize it with flutter_web. Is there something specific that needs to be done to support?
I tried to add it to the packet in socket.dart lines 157 - 163
var packet = { 'type': binary ? BINARY_EVENT : EVENT, 'data': sendData, 'options': { 'Access-Control-Allow-Origin: *', 'compress': this.flags?.isNotEmpty == true && this.flags['compress'] } };
The text was updated successfully, but these errors were encountered:
Found the solution.
// Dart client IO.Socket socket = IO.io('ws://localhost:8090', <String, dynamic>{ 'transports': ['websocket'], 'extraHeaders': {'Access-Control-Allow-Origin': '*'}
Sorry, something went wrong.
No branches or pull requests
I'm working to implement this and utilize it with flutter_web. Is there something specific that needs to be done to support?
I tried to add it to the packet in socket.dart lines 157 - 163
The text was updated successfully, but these errors were encountered: