SSE InitalResponseFix & SSEDisplay SmartAutoScroll

This commit is contained in:
Manas Hejmadi
2025-06-26 01:14:22 +05:30
parent 383b6ad4bc
commit 59f90d911d
2 changed files with 118 additions and 59 deletions

View File

@@ -397,10 +397,14 @@ class CollectionStateNotifier
final statusCode = response.statusCode;
respModel = respModel ??
baseHttpResponseModel.fromResponse(
response: response,
time: duration,
);
baseHttpResponseModel
.fromResponse(
response: response,
time: duration,
)
.copyWith(
sseOutput: isTextStream ? [response.body] : [],
);
newRequestModel = newRequestModel.copyWith(
responseStatus: statusCode,