Crate harddrive_party
Source pub use connections::Hdp;
- 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
- SharedState
- Shared state used by both the peer connections and user interface server
- RequestError
- Error on making a request to a given remote peer
- process_length_prefix
- Process responses from a remote peer that are prefixed with their length in bytes
- LsResponseStream
- A stream of Ls responses