summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent/Tracker/Protocol.hs
AgeCommit message (Collapse)Author
2013-05-03~ Reorganize modules.Sam T
All peer location & identification & information stuff should be placed in Network.BitTorrent.Peer now.
2013-04-26~ Fix Wall suggestions.Sam T
2013-04-26~ Fix hlint suggestions.Sam T
2013-04-26~ Starting separating protocol and high level api.Sam T
It will be more convenient to provide high level api and raw protocol separated. In many use cases we don't worry about protocol but need some simple things like track swarm/peer state. So I think it will be better to refactor library in the following way: 1. Network.BitTorrent.Tracker.Protocol, Network.BitTorrent.PeerWire.Protocol For raw protocol definitions, documentation and serialization. 2. Network.BitTorrent.Tracker Network.BitTorrent.PeerWire For convenient API. Though we should not restrict user to in some particular way, so high level api should be flexible enough. In other words: mechanism, not policy/framework.