Portability | portable |
---|---|
Stability | experimental |
Maintainer | pxqr.sta@gmail.com |
Safe Haskell | None |
Network.KRPC.Method
Description
Normally, you don't need to import this module.
Documentation
newtype Method param result Source
Method datatype used to describe method name, parameters and return values of procedure. Client use a method to invoke, server implements the method to make the actual work.
We use the following fantom types to ensure type-safiety:
- param: Type of method parameters.
- result: Type of return value of the method.
Constructors
Method | |
Fields |
class (Typeable req, BEncode req, Typeable resp, BEncode resp) => KRPC req resp | req -> resp whereSource