Skip to content

Commit

Permalink
Add stream method to the test service (istio#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
nacx authored May 13, 2020
1 parent 0dc4c83 commit 2693f33
Show file tree
Hide file tree
Showing 3 changed files with 163 additions and 23 deletions.
112 changes: 89 additions & 23 deletions test/v1/echo.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

67 changes: 67 additions & 0 deletions test/v1/echo.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions test/v1/echo.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ service Service {
body: "*"
};
};

rpc EchoPermanentStream(EchoRequest) returns (stream EchoResponse) {
option (google.api.http) = {
put: "/v1/{id}/stream"
body: "*"
};
};
}

message EchoRequest {
Expand Down

0 comments on commit 2693f33

Please sign in to comment.