summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent/Exchange.hs
blob: 3843addf88f44e7bfdccab9a4e944c97787d49db (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
36
37
38
39
-- |
--   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

         -- * Events
       , SessionEvent    (..)
       , subscribe
       ) where

import Network.BitTorrent.Exchange.Connection hiding (Options)
import Network.BitTorrent.Exchange.Manager
import Network.BitTorrent.Exchange.Message
import Network.BitTorrent.Exchange.Session