ElixirMake.Downloader behaviour (Raxol v2.0.1)

View Source

The behaviour for downloader modules.

Summary

Callbacks

This callback should download the artefact from the given URL.

Callbacks

download(url)

@callback download(url :: String.t()) :: {:ok, iolist() | binary()} | {:error, String.t()}

This callback should download the artefact from the given URL.