Skip to content

RequestHandler refactor, remove response from handler#4664

Merged
auto-submit[bot] merged 5 commits into
flutter:mainfrom
matanlurey:cache_request_handler-refactor
May 9, 2025
Merged

RequestHandler refactor, remove response from handler#4664
auto-submit[bot] merged 5 commits into
flutter:mainfrom
matanlurey:cache_request_handler-refactor

Conversation

@matanlurey

@matanlurey matanlurey commented May 8, 2025

Copy link
Copy Markdown
Contributor

Rename Body to Response, encapsulating everything it did before.

@matanlurey matanlurey requested a review from jtmcdole May 8, 2025 23:28
@matanlurey matanlurey requested a review from Piinks as a code owner May 8, 2025 23:28
@matanlurey matanlurey changed the title RequestHandler refactors, take X RequestHandler refactor, remove response from handler May 9, 2025
///
/// Returns a future that completes when [response] has been closed.
Future<void> _respond(HttpResponse response, Body body) async {
Future<void> _respond(HttpResponse response, Response body) async {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HttpResponse vs Response isn't confusing at all 😄

@matanlurey matanlurey added the autosubmit Merge PR when tree becomes green via auto submit App. label May 9, 2025
@auto-submit auto-submit Bot merged commit ac4a2b9 into flutter:main May 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants