Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@tottoto
Copy link
Collaborator

@tottoto tottoto commented May 28, 2024

Motivation

Provides the Body stream's size hint.

Solution

Implements Body::size_hint for custom body types. It is intentional that this is not added to test code.

@djc
Copy link
Contributor

djc commented May 29, 2024

Nice, thanks!

@djc djc added this pull request to the merge queue May 29, 2024
Merged via the queue into hyperium:master with commit 9728c01 May 29, 2024
@tottoto tottoto deleted the implement-http-body-size-hint branch May 30, 2024 10:36
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.

2 participants