NOTE: the latest version is 1.1.0
Formerly andreasewering/elm-grpc. Search finds this package by either name.
Internals that are intended to be used from code generators.
Given the following proto file
""" syntax = "proto3"; package helloworld; service Greeter { rpc SayHello (HelloRequest) returns (HelloReply) {} } message HelloRequest { string name = 1; } message HelloReply { string message = 1; } """
the corresponding Rpc instance would be
Rpc { service = "Greeter" , package = "helloworld" , rpcName = "SayHello" , encoder = helloRequestEncoder , decoder = helloReplyDecoder }
where helloRequestEncoder and helloReplyDecoder are Encoders/Decoders built with elm-protocol-buffers.
helloRequestEncoder
helloReplyDecoder
elm-protocol-buffers
Given the following proto file
the corresponding Rpc instance would be
where
helloRequestEncoderandhelloReplyDecoderare Encoders/Decoders built withelm-protocol-buffers.