200 is a HTTP status code and has nothing to do with message payload. If you send protobuf.Empty as a request/response of an RPC, gRPC will end up sending an RPC in a usual way, but the payload will be 0 bytes (protobuf.Empty serializes to a byte array of size 0, but so can other messages that don't have their fields set).
On Tue, May 9, 2017 at 10:02 AM, <[email protected]> wrote: > > Hi , > In translation from grpc to http - did protobuf.Empty is translate to 200 > ? or to nothing ? > > Thanks > > -- > You received this message because you are subscribed to the Google Groups " > grpc.io" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/grpc-io. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/grpc-io/8b52b918-ade2-4fc4-8404-25a596fde1b7%40googlegroups.com > <https://groups.google.com/d/msgid/grpc-io/8b52b918-ade2-4fc4-8404-25a596fde1b7%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CACF4M0S4aAC86vXVHJ2bMKiibx9ep%2BMFyqBETNuhy%3DN7Z3OTBw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
smime.p7s
Description: S/MIME Cryptographic Signature
