Function TRTSERVER_ServerExtensions

Function Documentation

TRTSERVER_Error *TRTSERVER_ServerExtensions(TRTSERVER_Server *server, const char *const **extensions, uint64_t *extensions_count)

Get the extensions supported by the server.

The caller does not own the returned strings and must not modify or delete them. The lifetime of the returned strings 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.

  • extensions: Returns the server extensions as an array of pointers to the name of each extension.

  • extensions_count: Returns the number of server extensions.