effusion v0.1.0 Effusion View Source

A BitTorrent library.

Link to this section Summary

Functions

Start downloading the torrent described by meta, and write it to a file in the destfile directory

Start asynchronously downloading the torrent described by meta, and write it to a file in the destfile directory

Link to this section Types

Link to this type info_hash() View Source
info_hash() :: hash()
Link to this type peer_id() View Source
peer_id() :: hash()

Link to this section Functions

Link to this function download(meta, destfile) View Source

Start downloading the torrent described by meta, and write it to a file in the destfile directory.

This function blocks until the download completes.

Link to this function start_download(meta, destfile) View Source

Start asynchronously downloading the torrent described by meta, and write it to a file in the destfile directory.

This function returns immediately.