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