Skip to content

Commit ea6b148

Browse files
author
Amruth Uppaluri
committed
working on graph
1 parent e8ac9a8 commit ea6b148

File tree

8 files changed

+294
-9
lines changed

8 files changed

+294
-9
lines changed

package-lock.json

Lines changed: 248 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
syntax = "proto3";
2+
3+
package helloworld;
4+
5+
// The greeting service definition.
6+
service Greeter {
7+
// Sends a greeting
8+
rpc SayHello (HelloRequest) returns (HelloReply) {}
9+
rpc SayHelloCS (stream HelloRequest) returns (HelloReply) {}
10+
rpc SayHellos (HelloRequest) returns (stream HelloReply) {}
11+
rpc SayHelloBidi (stream HelloRequest) returns (stream HelloReply) {}
12+
}
13+
14+
// The request message containing the user's name.
15+
message HelloRequest {
16+
string name = 1;
17+
}
18+
19+
// The response message containing the greetings
20+
message HelloReply {
21+
string message = 1;
22+
}
23+
24+
// The request message containing the user's name.
25+
message HelloHowOldRequest {
26+
int32 age = 1;
27+
}
28+
message HelloAge {
29+
int32 age = 1;
30+
}

src/client/components/containers/ResponseContainer.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ class ResponseContainer extends Component {
7373
{(this.state.openTab === 'Response Events' && this.props.content.request.method !== 'SUBSCRIPTION')
7474
&& <ResponseEventsDisplay response={this.props.content.response} />
7575
}
76-
{this.state.openTab === 'Response Headers' && <ResponseHeadersDisplay responseContent={this.props.content.response} />}
77-
{this.state.openTab === 'Response Metadata' && <ResponseHeadersDisplay responseContent={this.props.content.response} />}
76+
{this.state.openTab === 'Response Headers' && <ResponseHeadersDisplay tabName={this.state.openTab} responseContent={this.props.content.response} />}
77+
{this.state.openTab === 'Response Metadata' && <ResponseHeadersDisplay tabName={this.state.openTab} responseContent={this.props.content.response} />}
7878
{this.state.openTab === 'Response Cookies' && <ResponseCookiesDisplay responseContent={this.props.content.response} />}
7979
</div>
8080
);

0 commit comments

Comments
 (0)