36 void start(
const std::string& address);
44#ifdef ORBIT_ENABLE_GRPC
45 std::unique_ptr<grpc::Server> server_;
46 std::vector<grpc::Service*> services_;
A thin wrapper that runs gRPC services next to an Orbit App.
Definition GrpcServer.hpp:26
void start(const std::string &address)
void add_service(grpc::Service *service)
Registers a service; it must outlive the server. Call before start().
int port() const
The port listened on once started, e.g. the one chosen for port 0.
Definition GrpcServer.hpp:39
int port_
Definition GrpcServer.hpp:48
Definition GrpcServer.hpp:7
Definition Http2Session.hpp:18