Skip to content

Commit

Permalink
Show example if into: File.stream (#392)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeregrine authored Jul 18, 2024
1 parent 8431d07 commit 0b7c23a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/req/request.ex
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ defmodule Req.Request do
{:cont, {req, resp}}
end
* `collectable` - stream response body into a `t:Collectable.t/0`.
* `collectable` - stream response body into a `t:Collectable.t/0`. For example:
into: File.stream!("path")
* `:options` - the options to be used by steps. The exact representation of options is private.
Calling `request.options[key]`, `put_in(request.options[key], value)`, and
Expand Down

0 comments on commit 0b7c23a

Please sign in to comment.