Modules

Modules are a general-purpose low-level mechanism to add functionality by hooking into events. Examples of things that modules can do include:

  • Modify the connection handshake sent to peers
  • Add a new type of message
  • Send raw BitTorrent messages to peers
  • Override the behaviour of messages built into the BitTorrent protocol itself

Some of the core functionality is implemented through modules, including the core protocol messages and the BEP 10 extension protocol.

This page is incomplete. More information will be made available soon.