Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data RPC = RPC {
- pkg :: ByteString
- srv :: ByteString
- meth :: ByteString
- class Proto3WireEncoder a where
- proto3WireEncode :: a -> MessageBuilder
- proto3WireDecode :: Parser RawMessage a
- encode :: Proto3WireEncoder m => Compression -> m -> Builder
- decoder :: Proto3WireEncoder a => Compression -> Decoder (Either String a)
Documentation
A proxy type for giving static information about RPCs.
RPC | |
|
Instances
IsRPC RPC Source # | |
Defined in Network.GRPC.HTTP2.Proto3Wire path :: RPC -> HeaderValue # | |
Proto3WireEncoder i => GRPCInput RPC i Source # | |
Defined in Network.GRPC.HTTP2.Proto3Wire encodeInput :: RPC -> Compression -> i -> Builder # decodeInput :: RPC -> Compression -> Decoder (Either String i) # | |
Proto3WireEncoder o => GRPCOutput RPC o Source # | |
Defined in Network.GRPC.HTTP2.Proto3Wire encodeOutput :: RPC -> Compression -> o -> Builder # decodeOutput :: RPC -> Compression -> Decoder (Either String o) # |
class Proto3WireEncoder a where Source #
proto3WireEncode :: a -> MessageBuilder Source #
encode :: Proto3WireEncoder m => Compression -> m -> Builder Source #
decoder :: Proto3WireEncoder a => Compression -> Decoder (Either String a) Source #