Companion

object Companion

Functions

Link copied to clipboard

A SettingsPack with every setting set to its libtorrent default value. The port of the free function default_settings() in settings_pack.cpp.

Link copied to clipboard

The serialisation name for a 16-bit setting key name, or the empty string if the key is out of range. The port of name_for_setting() (settings_pack.cpp).

Link copied to clipboard

Look up the 16-bit setting key for a serialisation name, or -1 if the name is unknown. The port of setting_by_name() (settings_pack.cpp), including the "peer_tos" backwards-compatibility alias for peer_dscp.