Function TRTSERVER_ServerVersion

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.


a TRTSERVER_Error indicating success or failure.

  • server: The inference server object.

  • version: Returns the server version as a string.