forked from hesabix/arc
13 lines
332 B
Dart
13 lines
332 B
Dart
import 'package:dio/dio.dart';
|
|
|
|
Stream<String> postSsePayloads({
|
|
required Uri uri,
|
|
required Map<String, String> headers,
|
|
required String body,
|
|
CancelToken? cancelToken,
|
|
void Function(int id)? onEventId,
|
|
}) {
|
|
return Stream<String>.error(
|
|
UnsupportedError('Native SSE fetch is only available on Flutter Web.'),
|
|
);
|
|
}
|