Skip to content

Conversation

@Anikate-De
Copy link
Contributor

Items in this PR:

  • Create class AsyncInputStreamReader that provides a function to asynchronously read a java.io.InputStream using ExecutorService, and generate bindings
  • Implement the DataCallback interface and add the required logic to stream response bodies
  • Replaced individual test groups with testAll

This PR marks 100% conformance of package:ok_http with HTTP standards! 🎉


  • I’ve reviewed the contributor guide and applied the relevant portions to this PR.
Contribution guidelines:

Note that many Dart repos have a weekly cadence for reviewing PRs - please allow for some latency before initial review feedback.

Copy link

@camsim99 camsim99 left a comment

Choose a reason for hiding this comment

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

At a high level, this looks great and is what I envisioned when we talked! I'll defer to @brianquinlan for a final review :)

@brianquinlan brianquinlan merged commit 8c325b9 into dart-lang:master Jun 13, 2024
copybara-service bot pushed a commit to dart-lang/sdk that referenced this pull request Jun 14, 2024
Revisions updated by `dart tools/rev_sdk_deps.dart`.

collection (https://github.com/dart-lang/collection/compare/c90b19f..9354f38):
  9354f38  2024-06-13  Kevin Moore  Require Dart 3.4, test wasm on 3.4, prepare release (dart-archive/collection#349)

http (https://github.com/dart-lang/http/compare/e2e2170..8c325b9):
  8c325b9  2024-06-14  Anikate De  pkgs/ok_http: Stream response bodies. (dart-lang/http#1233)

http_parser (https://github.com/dart-lang/http_parser/compare/53d4041..71b4c2c):
  71b4c2c  2024-06-13  Graciliano Monteiro Passos  `CaseInsensitiveMap`: added constructor `fromEntries`. (dart-archive/http_parser#99)

Change-Id: I0f848975241261f42e0759d00188fef12731a085
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/371740
Auto-Submit: Devon Carew <[email protected]>
Reviewed-by: Konstantin Shcheglov <[email protected]>
Reviewed-by: Kevin Moore <[email protected]>
Commit-Queue: Konstantin Shcheglov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants