connect function

SseChannel connect(
  1. Uri url, {
  2. String? method,
  3. String? body,
  4. Map<String, String>? headers,
  5. List<String>? events,
})

Creates a new Server Sent Events connection.

Implementation

SseChannel connect(Uri url, {String? method, String? body, Map<String, String>? headers, List<String>? events})
{
  throw UnsupportedError('No implementation of the connect api provided');
}