PRN231_-_SU_2024_-_FE_2427.webp
V

PRN231_-_SU_2024_-_FE_2427.webp

  • Media owner Văn Huy
  • Ngày thêm
Kizspy | Question: 25
(Choose 1 answer)
Protocol Buffers is used to define the Messages (data, Request and Response) and Service (Service name and RPC endpoints). Choose the correct syntax.
A. syntax = "proto3";
service Greeter {
rpc SayHello (HelloRequest) returns (HelloReply);}
message HelloRequest {
string name = 1;
}
message HelloReply {
string message = 1;
}
B. syntax = "proto3";
message Greeter {
rpc SayHello (HelloRequest) replies (HelloReply);
}
service HelloRequest {
string name = 1;}
service HelloReply {
string message = 1;}
C. syntax = "proto3";
rpc SayHello (HelloRequest) returns (HelloReply);}
message Greeter {
service HelloRequest {
string name = 1;}
servi eply {
  • Like
Reactions: hiepminhcollab

Thông tin

Category
PRN231
Thêm bởi
Văn Huy
Ngày thêm
Lượt xem
2,292
Lượt bình luận
7
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom