Maintainer | Toshio Ito <debug.ito@gmail.com> |
---|---|
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- class Operation o where
- data SASLMechanism
- newtype Base64 = Base64 {}
Documentation
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 OpClose Source # | |
Operation OpEval Source # | |
Operation OpAuthentication Source # | |
Defined in Network.Greskell.WebSocket.Request.Session opProcessor :: OpAuthentication -> Text Source # opName :: OpAuthentication -> Text Source # opArgs :: OpAuthentication -> Object 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 a, Operation b) => Operation (Either a b) Source # | |
data SASLMechanism Source #
Possible SASL mechanisms.
SASLPlain | "PLAIN" SASL |
SASLGSSAPI | "GSSAPI" SASL |
Instances
A raw ByteString
encoded to/decoded from a base64 text.
ToJSON
instance encodes the raw ByteString
to a base64-encoded
Text
. FromJSON
is its inverse.