Skip to content

Commit 2c450a7

Browse files
committed
Improve docs
1 parent e14016a commit 2c450a7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/mint/http.ex

+3
Original file line numberDiff line numberDiff line change
@@ -900,6 +900,9 @@ defmodule Mint.HTTP do
900900
as well. An error when sending a request **does not** necessarily mean that the connection
901901
is closed. Use `open?/1` to verify that the connection is open.
902902
903+
Contrary to `recv/3`, this function does not return partial responses on errors. Use
904+
`recv/3` for full control.
905+
903906
## Examples
904907
905908
iex> {:ok, conn} = Mint.HTTP.connect(:https, "httpbin.org", 443, mode: :passive)

0 commit comments

Comments
 (0)