1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
//! `BitTorrent` peer wire protocol (BEP 3, 10, 9, 11). //! //! Re-exports from [`torrent_wire`]. pub use irontide_wire::{ // Error types Error, // Extension protocol (BEP 10) ExtHandshake, ExtMessage, // Handshake Handshake, HolepunchError, // BEP 55 Holepunch Extension HolepunchMessage, HolepunchMsgType, // Wire messages (BEP 3 + BEP 6) Message, // Tokio codec for framed I/O MessageCodec, // Metadata exchange (BEP 9) MetadataMessage, MetadataMessageType, Result, // BEP 6 Fast Extension allowed_fast_set, }; // Message Stream Encryption / Protocol Encryption (MSE/PE) pub use irontide_wire::mse; // SSL torrent TLS transport (M42) pub use irontide_wire::ssl;