ass+torrent_plugin%22+could+be+improved">report issue</a>]</span></div>
</div>
<div class="section" id="torrent-plugin">
<h1>torrent_plugin</h1>
<p>Declared in &quot;<a class="reference external" href="include/libtorrent/extensions.hpp">libtorrent/extensions.hpp</a>&quot;</p>
<p>Torrent plugins are associated with a single torrent and have a number
of functions called at certain events. Many of its functions have the
ability to change or override the default libtorrent behavior.</p>
<pre class="literal-bloc