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

doc: lws_add_http_header_by_name make it clear the trailing : is expected

This commit is contained in:
Andy Green 2020-11-25 17:50:49 +00:00
parent 02f414bbe2
commit 1cf25e3052

View file

@ -548,7 +548,7 @@ lws_add_http_header_status(struct lws *wsi,
* lws_add_http_header_by_name() - append named header and value
*
* \param wsi: the connection to check
* \param name: the hdr name, like "my-header"
* \param name: the hdr name, like "my-header:"
* \param value: the value after the = for this header
* \param length: the length of the value
* \param p: pointer to current position in buffer pointer