Maintainer | Toshio Ito <[email protected]> |
---|---|
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Network.Greskell.WebSocket.Request.Common
Description
Synopsis
- class Operation o where
- data SASLMechanism
- newtype Base64 = Base64 {}
Documentation
class Operation o where Source #
Class of operation objects.
Methods
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 Methods 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 Methods opProcessor :: OpAuthentication -> Text Source # opName :: OpAuthentication -> Text Source # opArgs :: OpAuthentication -> Object Source # | |
Operation OpEval Source # | |
(Operation a, Operation b) => Operation (Either a b) Source # | |
data SASLMechanism Source #
Possible SASL mechanisms.
Constructors
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.
Constructors
Base64 | |
Fields |