Function TRITONSERVER_InferenceResponseId

Function Documentation

TRITONSERVER_Error *TRITONSERVER_InferenceResponseId(TRITONSERVER_InferenceResponse *inference_response, const char **request_id)

Get the ID of the request corresponding to a response.

The caller does not own the returned ID and must not modify or delete it. The lifetime of all returned values extends until ‘inference_response’ is deleted.

Return

a TRITONSERVER_Error indicating success or failure.

Parameters
  • inference_response: The response object.

  • request_id: Returns the ID of the request corresponding to this response.