Go to the documentation of this file.
19 #include "examples/protos/helloworld.grpc.pb.h"
37 reply->set_message(
request->name());
38 std::cout <<
"Echoing: " <<
request->name() << std::endl;
56 int main(
int argc,
char** argv) {
void EnableDefaultHealthCheckService(bool enable)
std::string server_address("0.0.0.0:10000")
std::unique_ptr< Server > server
Status SayHello(ServerContext *context, const HelloRequest *request, HelloReply *reply) override
A builder class for the creation and startup of grpc::Server instances.
int main(int argc, char **argv)
GRPC_CUSTOM_UTIL_STATUS Status
std::shared_ptr< ServerCredentials > InsecureServerCredentials()
grpc::ClientContext context
__attribute__((deprecated("Please use GRPCProtoMethod."))) @interface ProtoMethod NSString * service
void InitProtoReflectionServerBuilderPlugin()
grpc
Author(s):
autogenerated on Fri May 16 2025 03:00:10