Open kateile opened 1 year ago
I need the same thing. I want clients to add unique id's to the headers so the server using web_socket_channel
can differentiate them.
Is there a solution for this on the web?
i know it is not a in the specs of ws protocol, but it is needed indeed.
need too,is there any progress?
Do you have any progress? It is really important in security purpose
any update ?
Nothing?
I follow this step and success: https://stackoverflow.com/a/41521871
any update?
please! I need the headers too)
import 'package:web_socket_channel/io.dart';
_channel = IOWebSocketChannel.connect(
url,
headers: {
'Authorization': 'Bearer $apiKey',
},
);
Hi devs.
On other platforms I use the following implementation to send headers and it works really great.
Now problem comes on flutter web, since I can't use
IOWebSocketChannel
andWebSocketChannel
doesn't have headers field. How can I archive the same thing on web?