Maintainer | Toshio Ito <debug.ito@gmail.com> |
---|---|
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data RequestMessage = RequestMessage {}
- class Operation o where
- toRequestMessage :: Operation o => UUID -> o -> RequestMessage
- makeRequestMessage :: Operation o => o -> IO RequestMessage
RequestMessage
data RequestMessage Source #
RequestMessage to a Gremlin Server. See http://tinkerpop.apache.org/docs/current/dev/provider/.
Instances
class Operation o where Source #
Class of operation objects.
opProcessor :: o -> Text Source #
"processor" field.
"op" field.
opArgs :: o -> Object Source #
"args" field.
Instances
Operation OpAuthentication Source # | |
Defined in Network.Greskell.WebSocket.Request.Session opProcessor :: OpAuthentication -> Text Source # opName :: OpAuthentication -> Text Source # opArgs :: OpAuthentication -> Object Source # | |
Operation OpClose Source # | |
Operation OpEval Source # | |
Operation OpAuthentication Source # | |
Defined in Network.Greskell.WebSocket.Request.Standard opProcessor :: OpAuthentication -> Text Source # opName :: OpAuthentication -> Text Source # opArgs :: OpAuthentication -> Object Source # | |
Operation OpEval Source # | |
(Operation a, Operation b) => Operation (Either a b) Source # | |
toRequestMessage :: Operation o => UUID -> o -> RequestMessage Source #
Convert an Operation
object to RequestMessage
.
makeRequestMessage :: Operation o => o -> IO RequestMessage Source #
Create a RequestMessage
from an Operation
object. The
$sel:requestId:RequestMessage
is generated by the random number generator of the
system.