Function TRTSERVER_InferenceResponseHeader¶
Defined in File trtserver.h
Function Documentation¶
-
TRTSERVER_Error *
TRTSERVER_InferenceResponseHeader(TRTSERVER_InferenceResponse *response, TRTSERVER_Protobuf **header)¶ Get the response header as a TRTSERVER_Protobuf object.
The caller takes ownership of the object and must call TRTSERVER_ProtobufDelete to release the object.
- Return
a TRTSERVER_Error indicating success or failure.
- Parameters
response: The response object.header: Returns the response header as a TRTSERVER_Protobuf object.