Class ServerHealthGrpcContext¶
- Defined in File request.h
Inheritance Relationships¶
Base Type¶
public nvidia::inferenceserver::client::ServerHealthContext
(Class ServerHealthContext)
Class Documentation¶
-
class
ServerHealthGrpcContext
: public nvidia::inferenceserver::client::ServerHealthContext¶ ServerHealthGrpcContext is the gRPC instantiation of ServerHealthContext.
Public Functions
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.
-
static Error