Skip to content

Commit

Permalink
Improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmach committed Aug 4, 2024
1 parent e14016a commit 2c450a7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/mint/http.ex
Original file line number Diff line number Diff line change
Expand Up @@ -900,6 +900,9 @@ defmodule Mint.HTTP do
as well. An error when sending a request **does not** necessarily mean that the connection
is closed. Use `open?/1` to verify that the connection is open.
Contrary to `recv/3`, this function does not return partial responses on errors. Use
`recv/3` for full control.
## Examples
iex> {:ok, conn} = Mint.HTTP.connect(:https, "httpbin.org", 443, mode: :passive)
Expand Down

0 comments on commit 2c450a7

Please sign in to comment.