From 36d9719c15894caf052344e80328a55cba983a85 Mon Sep 17 00:00:00 2001 From: Nakidai Date: Fri, 29 Nov 2024 10:40:49 +0300 Subject: Add documentation for LibHTTPC_writeResponse --- include/libhttpc.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/libhttpc.h b/include/libhttpc.h index de45b9f..f31e672 100644 --- a/include/libhttpc.h +++ b/include/libhttpc.h @@ -286,7 +286,10 @@ struct LibHTTPC_Request *LibHTTPC_readRequest( ); /** - * Not implemented yet + * Send response to sockfd + * @param sockfd Where to send response + * @param response Response to send + * @return 0 on success, 1 if send functon failed */ int LibHTTPC_writeResponse(int sockfd, struct LibHTTPC_Response *response); #endif -- cgit 1.4.1