Class ServerHealthHttpContext

Class Documentation

class ServerHealthHttpContext

ServerHealthHttpContext is the HTTP 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.

Return

Error object indicating success or failure.

Parameters
  • ctx: Returns a new ServerHealthHttpContext object.

  • server_url: The inference server name and port.

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