SseClient constructor

SseClient(
  1. Uri uri, {
  2. String method = "POST",
  3. Map<String, String>? headers = const {},
  4. required Client httpClient,
  5. Uint8List? body,
})

Implementation

SseClient(this.uri, {this.method = "POST", this.headers = const {}, required this.httpClient, this.body}) {
  _connect();
}