Kafka.Header.Response.V1
data Header Source #
Constructors
Fields
Defined in Kafka.Header.Response.V1
Methods
showsPrec :: Int -> Header -> ShowS #
show :: Header -> String #
showList :: [Header] -> ShowS #
data Headed a Source #
showsPrec :: Int -> Headed a -> ShowS #
show :: Headed a -> String #
showList :: [Headed a] -> ShowS #
parser :: Context -> Parser Context s Header Source #
decode :: Bytes -> Either Context Header Source #
Note: Decode is here for the benefit of the test suite. A response header prefaces another message, so in an actual kafka client, it makes more sense to monadically sequence the two parsers.