View Source UAInspector.Downloader.Adapter behaviour (UAInspector v3.9.0)

Behaviour for modules used by the downloader.

Summary

Callbacks

Reads a database file from a remote location and returns its contents.

Callbacks

@callback read_remote(location :: binary()) ::
  {:ok, contents :: binary()} | {:error, term()}

Reads a database file from a remote location and returns its contents.