pinger v0.1.1
Pinger.Dispatcher
Dispacher is responsible to dispatch http request and check if http target is valid
Summary
Check the http address to see if is a valid address
Functions
Check the http address to see if is a valid address
Example
iex> Pinger.Target.get_google |> Pinger.Dispatcher.check_address
{:ok, true}
Dispatch a http request
Example
iex> Pinger.Target.get_google
...> |> Pinger.Dispatcher.dispatch
{:ok, 200}