View Source CookieJar.HTTPotion (cookie_jar v1.1.0)
Use this module instead of HTTPotion, use jar as the first argument in all function calls, i.e. [:get, :head, :options, :delete, :post, :put, :patch, :get!, :head!, :options!, :delete!, :post!, :put!, :patch!]
Summary
Functions
@spec delete(GenServer.server(), String.t(), Keyword.t()) :: HTTPotion.http_result()
@spec delete!(GenServer.server(), String.t(), Keyword.t()) :: HTTPotion.http_result_bang()
@spec get(GenServer.server(), String.t(), Keyword.t()) :: HTTPotion.http_result()
@spec get!(GenServer.server(), String.t(), Keyword.t()) :: HTTPotion.http_result_bang()
@spec head(GenServer.server(), String.t(), Keyword.t()) :: HTTPotion.http_result()
@spec head!(GenServer.server(), String.t(), Keyword.t()) :: HTTPotion.http_result_bang()
@spec options(GenServer.server(), String.t(), Keyword.t()) :: HTTPotion.http_result()
@spec options!(GenServer.server(), String.t(), Keyword.t()) :: HTTPotion.http_result_bang()
@spec patch(GenServer.server(), String.t(), Keyword.t()) :: HTTPotion.http_result()
@spec patch!(GenServer.server(), String.t(), Keyword.t()) :: HTTPotion.http_result_bang()
@spec post(GenServer.server(), String.t(), Keyword.t()) :: HTTPotion.http_result()
@spec post!(GenServer.server(), String.t(), Keyword.t()) :: HTTPotion.http_result_bang()
@spec put(GenServer.server(), String.t(), Keyword.t()) :: HTTPotion.http_result()
@spec put!(GenServer.server(), String.t(), Keyword.t()) :: HTTPotion.http_result_bang()