Crate harddrive_party

Crate harddrive_party 

Source

Re-exports§

pub use connections::Hdp;

Modules§

connections
Main program loop handling connections to/from peers
errors
peer
Representation of remote peer, and download handling
shares
Index shared directories
subtree_names
Key-value store sub-tree names
ui_messages
Messages for communicating with the user interface over websocket
ui_server
Http server for serving web-ui as well as static locally available files
wire_messages
Wire messages for communicating with other Peers
wishlist
Track requested and downloaded files

Structs§

SharedState
Shared state used by both the peer connections and user interface server

Enums§

RequestError
Error on making a request to a given remote peer

Functions§

process_length_prefix
Process responses from a remote peer that are prefixed with their length in bytes

Type Aliases§

LsResponseStream
A stream of Ls responses