Skip to content

Commit d1f33db

Browse files
yanshiyasonjosevalim
authored andcommitted
Document the stream_handlers option (#19)
1 parent eb2c9cc commit d1f33db

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/plug/cowboy.ex

+3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ defmodule Plug.Cowboy do
2424
* `:compress` - Cowboy will attempt to compress the response body.
2525
Defaults to false.
2626
27+
* `:stream_handlers` - List of Cowboy `stream_handlers`,
28+
see [Cowboy docs](https://ninenines.eu/docs/en/cowboy/2.5/manual/cowboy_http/).
29+
2730
* `:protocol_options` - Specifies remaining protocol options,
2831
see [Cowboy docs](https://ninenines.eu/docs/en/cowboy/2.5/manual/cowboy_http/).
2932

0 commit comments

Comments
 (0)