API: add lsquic_conn_get_sni(), fixes issue #203

This commit is contained in:
Dmitri Tikhonov 2021-01-11 13:52:57 -05:00
parent e2c4907022
commit 38e835983f
7 changed files with 53 additions and 0 deletions

View file

@ -1964,6 +1964,10 @@ Miscellaneous Connection Functions
Get peer context associated with the connection and local address.
.. function:: const char * lsquic_conn_get_sni (lsquic_conn_t *conn)
Get SNI sent by the client.
.. function:: enum LSQUIC_CONN_STATUS lsquic_conn_status (lsquic_conn_t *conn, char *errbuf, size_t bufsz)
Get connection status.