Skip to content

Commit 058bddc

Browse files
authored
docs: add Finch adapter specific stream option (#800)
1 parent 1807d23 commit 058bddc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/tesla/adapter/finch.ex

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ if Code.ensure_loaded?(Finch) do
3939
## Adapter specific options
4040
4141
* `:name` - The `:name` provided to Finch (**required**).
42+
* `:response` - Expected response type. Defines the Finch request type
43+
to use. Supported values:
44+
+ `:stream` - Streams the response using `Finch.stream/5` for the
45+
request.
46+
+ `nil` or not specified - Responds without streaming using
47+
`Finch.request/3`.
4248
4349
## [Finch options](https://hexdocs.pm/finch/Finch.html#request/3)
4450

0 commit comments

Comments
 (0)