Safe Haskell | None |
---|---|
Language | Haskell2010 |
Network.Mattermost.Types.Base
Description
These are the fundamental types that are used for building everything else. Specifically, these types are used by the Network.Mattermost.Types.Internal, but are not subject to the cautions that as associated with the latter.
Documentation
If there is a Logger
in the ConnectionData
struct, it will
be sporadically called with values of type LogEvent
.
Constructors
LogEvent | |
Fields |
data LogEventType Source #
A LogEventType
describes the particular event that happened
Constructors
HttpRequest RequestMethod String (Maybe Value) | |
HttpResponse Int String (Maybe Value) | |
WebSocketRequest Value | |
WebSocketResponse (Either String Value) | Left means we got an exception trying to parse the response; Right means we succeeded and here it is. |
WebSocketPing | |
WebSocketPong |
Instances