EasyP

Rpc No Server Streaming

Categories:

  • UNARY_RPC

This rule checks that rpc has no server streaming.

Examples

Bad

syntax = "proto3";

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

Good

syntax = "proto3";

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

On this page