trace-forward-2.2.2: The forwarding protocols library for cardano node.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Trace.Forward.Protocol.DataPoint.Codec

Documentation

codecDataPointForward Source #

Arguments

:: forall m. MonadST m 
=> ([DataPointName] -> Encoding)

Encoder for Request.

-> (forall s. Decoder s [DataPointName])

Decoder for Request.

-> (DataPointValues -> Encoding)

Encoder for reply with list of DataPoints values.

-> (forall s. Decoder s DataPointValues)

Decoder for reply with list of DataPoints values.

-> Codec DataPointForward DeserialiseFailure m ByteString