Copyright | (c) Sebastian Witte |
---|---|
License | Apache-2.0 |
Maintainer | woozletoff@gmail.com |
Stability | experimental |
Portability | GHC |
Safe Haskell | None |
Language | Haskell2010 |
- data RPCMessage
- data Request = Request {}
- data Notification = Notification {}
- module Data.Int
- module Data.Time
Documentation
data RPCMessage Source
Haskell representation of supported Remote Procedure Call messages.
FunctionCall Text [Object] (TMVar (Either Object Object)) UTCTime | Method name, parameters, callback, timestamp |
Response !Int64 Object Object | Response sent to indicate the result of a function call.
|
NotificationCall Text [Object] | Method name and parameters. |
A request is a data type containing the method to call, its arguments and an identifier used to map the result to the function that has been called.
data Notification Source
A notification is similar to a Request
. It essentially does the same
thing, but the function is only called for its side effects. This type of
message is sent by neovim if the caller there does not care about the result
of the computation.
module Data.Int
module Data.Time