datasources/sse/lib/src/connect library

Functions

connect(Uri url, {String? method, String? body, Map<String, String>? headers, List<String>? events}) SseChannel
Creates a new Server Sent Events connection.