Skip to content

Commit

Permalink
Fix get callback definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Lentz authored and edgurgel committed Jul 5, 2022
1 parent 2fca7b8 commit 6e35e85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/httpoison/base.ex
Expand Up @@ -90,7 +90,7 @@ defmodule HTTPoison.Base do
@callback delete!(url, headers, options) :: Response.t() | AsyncResponse.t() | MaybeRedirect.t()

@callback get(url) :: {:ok, Response.t() | AsyncResponse.t()} | {:error, Error.t()}
@callback get(url, headers) :: {:ok, Response.t() | AsyncResponse.t() | {:error, Error.t()}}
@callback get(url, headers) :: {:ok, Response.t() | AsyncResponse.t()} | {:error, Error.t()}
@callback get(url, headers, options) ::
{:ok, Response.t() | AsyncResponse.t()} | {:error, Error.t()}

Expand Down

0 comments on commit 6e35e85

Please sign in to comment.