Go to the documentation of this file.
28 #include "examples/protos/helloworld.grpc.pb.h"
30 #include "helloworld.grpc.pb.h"
70 std::cout <<
"Server listening on " <<
server_address << std::endl;
77 int main(
int argc,
char** argv) {
int main(int argc, char **argv)
void EnableDefaultHealthCheckService(bool enable)
std::string server_address("0.0.0.0:10000")
std::unique_ptr< Server > server
ServerUnaryReactor * SayHello(CallbackServerContext *context, const HelloRequest *request, HelloReply *reply) override
A builder class for the creation and startup of grpc::Server instances.
void Finish(grpc::Status s) ABSL_LOCKS_EXCLUDED(call_mu_)
static const char prefix[]
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 Thu Mar 13 2025 02:59:47