diff options
author | Sam Truzjan <pxqr.sta@gmail.com> | 2014-02-11 12:30:50 +0400 |
---|---|---|
committer | Sam Truzjan <pxqr.sta@gmail.com> | 2014-02-11 12:30:50 +0400 |
commit | 0ec910a0fb7c1e5d72e06f00806b85111138461a (patch) | |
tree | 396fbcac569a171d9ef0e2ffe59dbd27a7f6978f /src/Network/BitTorrent/Exchange.hs | |
parent | 4fef598f29cbb138e7b93c5011887c2b92a12879 (diff) |
Add exchange manager and session to client session
Diffstat (limited to 'src/Network/BitTorrent/Exchange.hs')
-rw-r--r-- | src/Network/BitTorrent/Exchange.hs | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/src/Network/BitTorrent/Exchange.hs b/src/Network/BitTorrent/Exchange.hs index 934c646d..86e13d58 100644 --- a/src/Network/BitTorrent/Exchange.hs +++ b/src/Network/BitTorrent/Exchange.hs | |||
@@ -6,5 +6,27 @@ | |||
6 | -- Portability : portable | 6 | -- Portability : portable |
7 | -- | 7 | -- |
8 | module Network.BitTorrent.Exchange | 8 | module Network.BitTorrent.Exchange |
9 | ( | 9 | ( -- * Options |
10 | Options (..) | ||
11 | , Caps | ||
12 | , Extension | ||
13 | , toCaps | ||
14 | |||
15 | -- * Manager | ||
16 | , Manager | ||
17 | , Handler | ||
18 | , newManager | ||
19 | , closeManager | ||
20 | |||
21 | -- * Session | ||
22 | , Session | ||
23 | , newSession | ||
24 | , closeSession | ||
25 | |||
26 | -- * Session control | ||
27 | , insert | ||
10 | ) where | 28 | ) where |
29 | |||
30 | import Network.BitTorrent.Exchange.Manager | ||
31 | import Network.BitTorrent.Exchange.Message | ||
32 | import Network.BitTorrent.Exchange.Session \ No newline at end of file | ||