Skip to main content

◆ submitRequestToHostManager() [1/2]

template<typename TRequest, typename TResponse>
TResponse & gpudb::GPUdb::submitRequestToHostManager (const char *endpoint,
const TRequest &request,
TResponse &response,
const boolenableCompression = false ) const
inline

Submit an HTTP request to the host manager.

Parameters
[in]endpointThe endpoint for which the request is made.
[in]requestThe request object containing the parameters for the operation.
[out]responseThe response object in which the return values will be saved.
[in]enableCompressionOptional boolean flag indicating whether any compression should be used. Default is false.
Returns
a reference to the response object.

Definition at line 520 of file GPUdb.hpp.

◆ submitRequestToHostManager() [2/2]

template<typename TRequest, typename TResponse>
TResponse & gpudb::GPUdb::submitRequestToHostManager (const std::string &endpoint,
const TRequest &request,
TResponse &response,
const boolenableCompression = false ) const
inline

Submit an HTTP request to the host manager.

Parameters
[in]endpointThe endpoint for which the request is made.
[in]requestThe request object containing the parameters for the operation.
[out]responseThe response object in which the return values will be saved.
[in]enableCompressionOptional boolean flag indicating whether any compression should be used. Default is false.
Returns
a reference to the response object.

Definition at line 469 of file GPUdb.hpp.