Class SharedMemoryControlHttpContext¶
Defined in File request_http.h
Class Documentation¶
-
class
SharedMemoryControlHttpContext
¶ SharedMemoryControlHttpContext is the HTTP instantiation of SharedMemoryControlContext.
Public Static Functions
-
static Error
Create
(std::unique_ptr<SharedMemoryControlContext> *ctx, const std::string &server_url, const std::map<std::string, std::string> &headers, bool verbose = false)¶ Create context that controls registration / unregistration of shared memory regions on the server using HTTP.
- Return
Error object indicating success or failure.
- Parameters
ctx
: Returns the new SharedMemoryControlContext object.server_url
: The inference server name and port.headers
: Map of HTTP headers to use with the control request. The map key/value indicates the header name/value.verbose
: If true generate verbose output when contacting the inference server.
-
static Error