effusion v0.2.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 downloading the torrent with a metadata file located at torrent_file.

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

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

download_file(torrent_file)

View Source

Start downloading the torrent with a metadata file located at torrent_file.

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

This function returns immediately.