Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
Instances
Accept Protobuf Source # | |
Defined in Twirp contentType :: Proxy Protobuf -> MediaType contentTypes :: Proxy Protobuf -> NonEmpty MediaType | |
Message a => MimeRender Protobuf a Source # | |
Defined in Twirp mimeRender :: Proxy Protobuf -> a -> ByteString | |
Message a => MimeUnrender Protobuf a Source # | |
Defined in Twirp mimeUnrender :: Proxy Protobuf -> ByteString -> Either String a mimeUnrenderWithType :: Proxy Protobuf -> MediaType -> ByteString -> Either String a |
module Twirp.Middleware.Errors