sse_channel

Creator: coderz1093

Last updated:

0 purchases

sse_channel Image
sse_channel Images

Languages

Categories

Add to Cart

Description:

sse channel

sse_channel #
The sse_channel package provides StreamChannel
wrappers for Server Sent Event connections.
import 'package:sse_channel/sse_channel.dart';

void main() {
final channel =
SseChannel.connect(Uri.parse('http://127.0.0.1:8080/sseHandler'));

channel.stream.listen((message) {
print(message);
});

channel.sink.add('test');
}
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.