Function TRTSERVER_ServerVersion¶
Defined in File trtserver.h
Function Documentation¶
-
TRTSERVER_Error *
TRTSERVER_ServerVersion
(TRTSERVER_Server *server, const char **version)¶ Get the version of the server.
The caller does not own the returned string and must not modify or delete it. The lifetime of the returned string extends only as long as ‘server’ and must not be accessed once ‘server’ is deleted.
- Return
a TRTSERVER_Error indicating success or failure.
- Parameters
server
: The inference server object.version
: Returns the server version as a string.