streamHttpRequest: Major Restructuring & other review changes

This commit is contained in:
Manas Hejmadi
2025-07-03 01:01:07 +05:30
parent 637a018c76
commit aef57df466
3 changed files with 69 additions and 84 deletions

View File

@@ -22,6 +22,11 @@ enum HTTPVerb {
final String abbr;
}
List<String> kStreamingResponseTypes = [
'text/event-stream',
'application/x-ndjson',
];
enum SupportedUriSchemes { https, http }
final kSupportedUriSchemes = SupportedUriSchemes.values