Provide concrete example of multiplatform websocket
Open
package:web_socket_channel
- Dominant language
- Dart
- Stars
- 1.1k
- Forks
- 419
- Avg merge
- 4d 14h
- Merged PRs (30d)
- 8
Description
I have not been able to implement a multiplatform websocket with this package. I see no code examples to assist in the process. The only thing I can figure is that we're supposed to create a platform specific socket channel and pass it to WebSocketChannel.
It's basically gone like this so far:
1) Oh hey, I'm going to use `web_socket_channel` it's multiplatform!
2) What is a `StreamChannel`?
3) Okay, import `package:web_socket_channel/io.dart`...
4) Now I need a `WebSocket`?
5) Okay, import `dart:io`....
6) Wait, `WebSocket` is abstract? Okay, lets implement.... `48 methods`?!?!?!
Please give us some breadcrumbs.
Contributor guide
Assessment
This issue has not been assessed yet.