-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Description
Probably the example service should be.
service EchoService {
rpc Echo(stream EchoRequest) returns (stream EchoResponse) {
option (google.api.http) = {get: "/echo"};
}
rpc Stream(Empty) returns (stream EchoResponse) {
option (google.api.http) = {get: "/stream"};
}
rpc Heartbeats(stream Empty) returns (stream Heartbeat) {
option (google.api.http) = {post: "/heartbeats"};
}
}
Because now both Echo and Stream methods points to the same /echo location. Also the echo should probably be get not post based on what i have tested with JS example.
I could have make a PR, but I don't know which versions you use to generate.
Metadata
Metadata
Assignees
Labels
No labels