Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Exchange format for API client. A frame contains html elements or binary data such as terminal output.
Synopsis
- data DataEvent = DataEvent {}
- encodeMessageL :: WinID -> LByteString -> LByteString
- encodeMessage :: Natural -> LByteString -> LByteString
- decodeMessage :: ByteString -> Maybe (Natural, ByteString)
- butlerHelpersScript :: Text
Documentation
DataEvent | |
|
Instances
ToJSON DataEvent # | |
Defined in Butler.Frame |
helper
encodeMessageL :: WinID -> LByteString -> LByteString #
encodeMessage :: Natural -> LByteString -> LByteString #
decodeMessage :: ByteString -> Maybe (Natural, ByteString) #