Funkspector.Resolver (funkspector v1.0.0)
Provides a method to follow URL redirections, returning the final URL.
Summary
Functions
Given a URL, it will follow the redirections and return the final URL and the final response.
Functions
Link to this function
resolve(url, options \\ %{})
Given a URL, it will follow the redirections and return the final URL and the final response.
Examples
iex> { :ok, final_url, _response } = Funkspector.Resolver.resolve("http://github.com")
iex> final_url
"https://github.com/"