Effusion V0.2.0 Effusion.PWP.Messages.Handshake - HexDocs

effusion

v0.2.0

  • Pages
  • Modules
effusion v0.2.0 Effusion.PWP.Messages.Handshake View Source

Encode and decode peer handshake messages.

Link to this section Summary

Functions

decode(arg1)

Extracts the peer id, info hash, and reserved bytes from a handshake packet binary.

encode(peer_id, info_hash, extensions \\ [])

Builds a handshake packet binary for the info hash and peer id.

Link to this section Functions Link to this function decode(arg1) View Source

Extracts the peer id, info hash, and reserved bytes from a handshake packet binary.

Link to this function encode(peer_id, info_hash, extensions \\ []) View Source

Builds a handshake packet binary for the info hash and peer id.

Tag » How To Delete Messages On Handshake