Skip to content

feat: Add information about Response.Stream() - #205

Open
vendion wants to merge 2 commits into
goravel:masterfrom
vendion:v1.18.0
Open

vendion wants to merge 2 commits into
goravel:masterfrom
vendion:v1.18.0

Conversation

@vendion

@vendion vendion commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

📑 Description

Add the Stream() method to the Response interface documenting returning the response body as a ReadCloser allowing the response body to be streamed rather than buffered in memory before being returned to the caller.

Closes goravel/goravel#1022

✅ Checks

  • Added test cases for my code

Add the `Stream()` method to the `Response` interface documenting
returning the response body as a `ReadCloser` allowing the response body
to be streamed rather than buffered in memory before being returned to
the caller.

Signed-off-by: Adam Jimerson <vendion@gmail.com>

@hwbrzzl hwbrzzl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks, could you update the zh file as well?

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.

Add a resource() or steam() method to facades.Http()

2 participants