UAInspector v2.0.0 UAInspector.Downloader.Adapter behaviour View Source

Behaviour for modules used by the downloader.

Link to this section Summary

Callbacks

Reads a database file from a remote location and returns it's contents.

Link to this section Callbacks

Link to this callback

read_remote(location)

View Source
read_remote(location :: binary()) ::
  {:ok, contents :: binary()} | {:error, term()}

Reads a database file from a remote location and returns it's contents.