summary refs log tree commit diff
path: root/include/libhttpc.h
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2024-11-29 10:40:49 +0300
committerNakidai <nakidai@disroot.org>2024-11-29 10:40:49 +0300
commit36d9719c15894caf052344e80328a55cba983a85 (patch)
tree16196894ee9f698f14b54707eee8768ab88e1279 /include/libhttpc.h
parent9f5f94a729ecbd99a8d2adac29b107afa80574c6 (diff)
downloadlibhttpc-36d9719c15894caf052344e80328a55cba983a85.tar.gz
libhttpc-36d9719c15894caf052344e80328a55cba983a85.zip
Add documentation for LibHTTPC_writeResponse
Diffstat (limited to 'include/libhttpc.h')
-rw-r--r--include/libhttpc.h5
1 files changed, 4 insertions, 1 deletions
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