Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Types in MessagePack RPC
Synopsis
- type MessageId = Word64
- type MethodName = Text
- data Message
Documentation
type MethodName = Text Source #
Method name.
Message type of MessagePack PRC.
Use toObject
and fromObject
for conversion.
RequestMessage MessageId MethodName [Object] | Request |
ResponseMessage MessageId (Either Object Object) | |
NotificationMessage MethodName [Object] | Notification. |