summaryrefslogtreecommitdiff
path: root/dht/bittorrent/src/Network/BitTorrent/Exchange.hs
blob: 143bf0909746966824e78a665f4b3f20193bcb7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
-- |
--   Copyright   :  (c) Sam Truzjan 2013
--   License     :  BSD3
--   Maintainer  :  pxqr.sta@gmail.com
--   Stability   :  experimental
--   Portability :  portable
--
module Network.BitTorrent.Exchange
       ( -- * Manager
         Options (..)
       , Manager
       , Handler
       , newManager
       , closeManager

         -- * Session
       , Caps
       , Extension
       , toCaps
       , Session
       , newSession
       , closeSession

         -- * Query
       , waitMetadata
       , takeMetadata

         -- * Connections
       , connect
       , connectSink
       ) where

import Network.BitTorrent.Exchange.Manager
import Network.BitTorrent.Exchange.Message
import Network.BitTorrent.Exchange.Session