EasyP

Rpc No Client Streaming

Categories:

  • UNARY_RPC

This rule checks that rpc has no client streaming.

Examples

Bad

syntax = "proto3";

service Foo {
    rpc Bar (stream BarRequest) returns (BarResponse) {}
}

Good

syntax = "proto3";

service Foo {
    rpc Bar (BarRequest) returns (BarResponse) {}
}

On this page