Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data RPC (s :: *) (m :: Symbol) Source #
A proxy type for giving static information about RPCs.
Instances
(Service s, HasMethod s m) => IsRPC (RPC s m) Source # | |
Defined in Network.GRPC.HTTP2.ProtoLens path :: RPC s m -> HeaderValue # | |
(Service s, HasMethod s m, i ~ MethodInput s m) => GRPCInput (RPC s m) i Source # | |
Defined in Network.GRPC.HTTP2.ProtoLens encodeInput :: RPC s m -> Compression -> i -> Builder # decodeInput :: RPC s m -> Compression -> Decoder (Either String i) # | |
(Service s, HasMethod s m, i ~ MethodOutput s m) => GRPCOutput (RPC s m) i Source # | |
Defined in Network.GRPC.HTTP2.ProtoLens encodeOutput :: RPC s m -> Compression -> i -> Builder # decodeOutput :: RPC s m -> Compression -> Decoder (Either String i) # |