Skip to content

Commit d3fee6e

Browse files
tank-bohrericmj
andauthored
Change Mint.HTTP.t() from opaque to open type (#483)
Co-authored-by: Eric Meadows-Jönsson <eric.meadows.jonsson@gmail.com>
1 parent e3c291c commit d3fee6e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/mint/http.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ defmodule Mint.HTTP do
126126

127127
@behaviour Mint.Core.Conn
128128

129-
@opaque t() :: Mint.HTTP1.t() | Mint.HTTP2.t()
129+
@type t() :: Mint.HTTP1.t() | Mint.HTTP2.t() | Mint.UnsafeProxy.t()
130130

131131
defguardp is_data_message(message)
132132
when elem(message, 0) in [:ssl, :tcp] and tuple_size(message) == 3

0 commit comments

Comments
 (0)