diff options
author | Sam T <pxqr.sta@gmail.com> | 2013-04-26 00:18:53 +0400 |
---|---|---|
committer | Sam T <pxqr.sta@gmail.com> | 2013-04-26 00:18:53 +0400 |
commit | e7914d0fad7d5ef26f0c89e8b78b5c7b6a2868f5 (patch) | |
tree | 9a1c404292f2b37fb79595991dd6e6a73cf12535 /src/Network/BitTorrent/PeerID.hs | |
parent | 8a8e67099fd1e0182b096778682b2e8c4af8085f (diff) |
~ Starting separating protocol and high level api.
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.
Diffstat (limited to 'src/Network/BitTorrent/PeerID.hs')
0 files changed, 0 insertions, 0 deletions