s2n_connection_set_protocol_preferences doc
@@ -905,6 +905,17 @@ int s2n_connection_set_cipher_preferences(struct s2n_connection *conn, const cha
s2n_connection. Calling this function is not necessary unless you want to set the
cipher preferences on the connection to something different than what is in the s2n_config.
+
+## s2n\_connection\_set\_protocol\_preferences
+
+```c
+int s2n_connection_set_protocol_preferences(struct s2n_connection *conn, const char * const *protocols, int protocol_count);
+```
+
+**s2n_connection_set_protocol_preferences** sets the protocol preference override for the
+s2n_connection. Calling this function is not necessary unless you want to set the
+protocol preferences on the connection to something different than what is in the s2n_config.
+
### s2n\_set\_server\_name
```c
