mirror of
https://github.com/foss42/apidash.git
synced 2025-12-02 10:49:49 +08:00
SSE InitalResponseFix & SSEDisplay SmartAutoScroll
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user