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