Function TRTSERVER_ServerOptionsSetServerProtocolVersion¶
Defined in File trtserver.h
Function Documentation¶
-
TRTSERVER_Error *
TRTSERVER_ServerOptionsSetServerProtocolVersion
(TRTSERVER_ServerOptions *options, const uint32_t server_protocol_version)¶ Set the version of the data-plane protocol supported by the server in a server options.
- Return
a TRTSERVER_Error indicating success or failure.
- Parameters
options
: The server options object.server_protocol_version
: The protocol version.