Class ServerHealthGrpcContext

Class Documentation

class ServerHealthGrpcContext

ServerHealthGrpcContext is the GRPC instantiation of ServerHealthContext.

Public Static Functions

static Error Create(std::unique_ptr<ServerHealthContext> *ctx, const std::string &server_url, bool verbose = false)

Create a context that returns health information about server.

Return

Error object indicating success or failure.

Parameters
  • ctx: Returns a new ServerHealthGrpcContext object.

  • server_url: The inference server name and port.

  • verbose: If true generate verbose output when contacting the inference server.