summaryrefslogtreecommitdiff
path: root/src/Network
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network')
-rw-r--r--src/Network/KRPC/Protocol.hs29
1 files changed, 23 insertions, 6 deletions
diff --git a/src/Network/KRPC/Protocol.hs b/src/Network/KRPC/Protocol.hs
index 69d900cc..77aa29e1 100644
--- a/src/Network/KRPC/Protocol.hs
+++ b/src/Network/KRPC/Protocol.hs
@@ -19,21 +19,38 @@
19{-# LANGUAGE DefaultSignatures #-} 19{-# LANGUAGE DefaultSignatures #-}
20module Network.KRPC.Protocol 20module Network.KRPC.Protocol
21 ( -- * Error 21 ( -- * Error
22 KError(..), ErrorCode, errorCode, mkKError 22 KError(..)
23 , ErrorCode
24 , errorCode
25 , mkKError
23 26
24 -- * Query 27 -- * Query
25 , KQuery(queryMethod, queryArgs), MethodName, ParamName, kquery 28 , KQuery(queryMethod, queryArgs)
29 , MethodName
30 , ParamName
31 , kquery
26 32
27 -- * Response 33 -- * Response
28 , KResponse(respVals), ValName, kresponse 34 , KResponse(respVals)
35 , ValName
36 , kresponse
29 37
30 , sendMessage, recvResponse 38 , sendMessage
39 , recvResponse
31 40
32 -- * Remote 41 -- * Remote
33 , KRemote, KRemoteAddr, withRemote, remoteServer 42 , KRemote
43 , KRemoteAddr
44 , withRemote
45 , remoteServer
34 46
35 -- * Re-exports 47 -- * Re-exports
36 , encode, encoded, decode, decoded, toBEncode, fromBEncode 48 , encode
49 , encoded
50 , decode
51 , decoded
52 , toBEncode
53 , fromBEncode
37 ) where 54 ) where
38 55
39import Control.Applicative 56import Control.Applicative