summaryrefslogtreecommitdiff
path: root/src/Network/KRPC
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network/KRPC')
-rw-r--r--src/Network/KRPC/Method.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Network/KRPC/Method.hs b/src/Network/KRPC/Method.hs
index 2033f808..a31380cc 100644
--- a/src/Network/KRPC/Method.hs
+++ b/src/Network/KRPC/Method.hs
@@ -35,6 +35,7 @@ import Data.String
35import Data.Typeable 35import Data.Typeable
36import Network.DatagramServer.Mainline 36import Network.DatagramServer.Mainline
37import Network.DatagramServer.Types 37import Network.DatagramServer.Types
38import Network.DHT.Types
38 39
39 40
40-- | Method datatype used to describe method name, parameters and 41-- | Method datatype used to describe method name, parameters and
@@ -105,3 +106,5 @@ class ( Typeable req, Typeable resp)
105 validateExchange :: dht req -> dht resp -> Bool 106 validateExchange :: dht req -> dht resp -> Bool
106 validateExchange _ _ = True 107 validateExchange _ _ = True
107 108
109 makeQueryExtra :: DHTData dht ip -> Proxy req -> Proxy resp -> IO (QueryExtra dht)
110 makeResponseExtra :: DHTData dht ip -> req -> Proxy resp -> IO (ResponseExtra dht)