Unclaimed project
Are you a maintainer of shelf? Claim this project to take control of your public changelog and roadmap.
Changelog
Web server middleware for Dart
webSocketHandler method's
onConnection callback. Previously this took an untyped function with either
one or two parameters. This now requires a ConnectionCallback; a typedef
taking two parameters. See also https://github.com/dart-lang/shelf/issues/457.^3.5.0.Note that most clients seeing analysis issues from the above breaking change can fix it by adding a second parameter to their callback. So, they would change this:
webSocketHandler((webSocket) {
webSocket.stream.listen((message) {
webSocket.sink.add('echo $message');
});
});
to this:
webSocketHandler((webSocket, _) {
webSocket.stream.listen((message) {
webSocket.sink.add('echo $message');
});
});
An open-source cross-platform alternative to AirDrop
Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
🎧 Open source music streaming app! Available for both desktop & mobile!
A multi-platform proxy client based on ClashMeta,simple and easy to use, open-source and ad-free.