Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use --no-stream to disable response streaming #363

Merged
merged 2 commits into from
Apr 12, 2024
Merged

Use --no-stream to disable response streaming #363

merged 2 commits into from
Apr 12, 2024

Conversation

ducaale
Copy link
Owner

@ducaale ducaale commented Apr 12, 2024

Inspired by the --check-status/--no-check-status flags, instead of a --stream option accepting a boolean value, we will have --stream/--no-stream to allow the user to opt in or out of response streaming.

  • xh postman-echo.com/server-events/5 → content type determines if streaming should be enabled or not
  • xh postman-echo.com/server-events/5 --stream → opt-in to response streaming
  • xh postman-echo.com/server-events/5 --no-stream → opt-out of response streaming

@ducaale ducaale merged commit d788b99 into master Apr 12, 2024
9 checks passed
@ducaale ducaale deleted the no-stream branch April 12, 2024 21:27
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.

None yet

1 participant