Go to the documentation of this file.
27 #include "protos/helloworld.grpc.pb.h"
62 std::cout <<
"127.0.0.1:" << bound_port << std::endl;
69 int main(
int argc,
char** argv) {
void EnableDefaultHealthCheckService(bool enable)
std::string server_address("0.0.0.0:10000")
int main(int argc, char **argv)
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.
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 Fri May 16 2025 02:58:44