From 1e4d1e050267c1cd4cf7104fd00f20b9c4962bbb Mon Sep 17 00:00:00 2001 From: Nakidai Date: Sun, 24 Nov 2024 19:50:43 +0300 Subject: Add notice abut response in dumpResponse --- include/libhttpc.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/libhttpc.h b/include/libhttpc.h index 6160d21..e64361c 100644 --- a/include/libhttpc.h +++ b/include/libhttpc.h @@ -255,6 +255,12 @@ struct LibHTTPC_Request *LibHTTPC_loadRequest(struct LibHTTPC_Request *request_b * Construct C-String with resopnse that can be sent to client from * LibHTTPC_Response struct * @param[in] response Pointer to response + * + * if (response.version == NULL) then it will be set to "HTTP/1.1" + * + * if (response.status == 0) then it will be set to LibHTTPC_Status_OK + * + * if (response.phrase == NULL) then it will be set to LibHTTPC_dumpStatus(response.status) * @param[out] buf Pointer to buffer where to save formatted response * @param buf_len Size of buf */ -- cgit 1.4.1