farmbot v6.0.1-alpha Farmbot.HTTP.HTTPoisonAdapter View Source

Farmbot HTTP adapter for accessing the world and farmbot web api easily.

Link to this section Summary

Link to this section Functions

Link to this function download_file(http, url, path, progress_callback, payload, headers) View Source

Download a file to the Filesystem.

Callback implementation for Farmbot.HTTP.Adapter.download_file/6.

Link to this function request(http, method, url, body, headers, opts) View Source

HTTP Request.

Callback implementation for Farmbot.HTTP.Adapter.request/6.

Start the adapter.

Callback implementation for Farmbot.HTTP.Adapter.start_link/0.

Link to this function upload_file(http, path, meta) View Source

Upload a file.

Callback implementation for Farmbot.HTTP.Adapter.upload_file/3.