1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

lws_is_ssl: update docs

This commit is contained in:
Andy Green 2019-10-02 12:48:22 -07:00
parent 6feb51fd42
commit 54573924ef

View file

@ -558,9 +558,7 @@ size_t lws_get_allocated_heap(void);
* lws_is_ssl() - Find out if connection is using SSL
* \param wsi: websocket connection to check
*
* Returns 0 if the connection is not using SSL, 1 if using SSL and
* using verified cert, and 2 if using SSL but the cert was not
* checked (appears for client wsi told to skip check on connection)
* Returns nonzero if the wsi is inside a tls tunnel, else zero.
*/
LWS_VISIBLE LWS_EXTERN int
lws_is_ssl(struct lws *wsi);