Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Prepare for upcoming change to HttpRequest and HttpClientResponse #44

Merged
merged 1 commit into from
Jun 25, 2019

Conversation

tvolkert
Copy link
Contributor

An upcoming change to the Dart SDK will change HttpRequest and
HttpClientResponse from implementing Stream<List<int>> to
implementing Stream<Uint8List>.

This forwards-compatible change prepares for that SDK breaking
change by casting the Stream to List<int> before transforming
it.

dart-lang/sdk#36900

An upcoming change to the Dart SDK will change `HttpRequest` and
`HttpClientResponse` from implementing `Stream<List<int>>` to
implementing `Stream<Uint8List>`.

This forwards-compatible change prepares for that SDK breaking
change by casting the Stream to `List<int>` before transforming
it.

dart-lang/sdk#36900
@tvolkert
Copy link
Contributor Author

@mkustermann @kevmoo PTAL

@tvolkert
Copy link
Contributor Author

Thanks @mkustermann. Can you merge it too? I don't have rights to this repo.

@mkustermann mkustermann merged commit 2785ba7 into dart-archive:master Jun 25, 2019
mosuem pushed a commit to dart-lang/http that referenced this pull request Oct 17, 2024
…rt-archive/http2#44)

An upcoming change to the Dart SDK will change `HttpRequest` and
`HttpClientResponse` from implementing `Stream<List<int>>` to
implementing `Stream<Uint8List>`.

This forwards-compatible change prepares for that SDK breaking
change by casting the Stream to `List<int>` before transforming
it.

dart-lang/sdk#36900
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

3 participants