servant-proto-lens-0.1.0.1: Servant Content-Type for proto-lens protobuf modules.
Servant.API.ContentTypes.Proto
data Proto Source #
Instances
Methods
contentType :: Proxy Proto ctype -> MediaType #
contentTypes :: Proxy Proto ctype -> NonEmpty MediaType #
mimeRender :: Proxy Proto m -> a -> ByteString #
mimeUnrender :: Proxy Proto m -> ByteString -> Either String a #
mimeUnrenderWithType :: Proxy Proto m -> MediaType -> ByteString -> Either String a #