diff options
| author | Nakidai <nakidai@disroot.org> | 2024-11-29 10:40:49 +0300 |
|---|---|---|
| committer | Nakidai <nakidai@disroot.org> | 2024-11-29 10:40:49 +0300 |
| commit | 36d9719c15894caf052344e80328a55cba983a85 (patch) | |
| tree | 16196894ee9f698f14b54707eee8768ab88e1279 | |
| parent | 9f5f94a729ecbd99a8d2adac29b107afa80574c6 (diff) | |
| download | libhttpc-36d9719c15894caf052344e80328a55cba983a85.tar.gz libhttpc-36d9719c15894caf052344e80328a55cba983a85.zip | |
Add documentation for LibHTTPC_writeResponse
| -rw-r--r-- | include/libhttpc.h | 5 |
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 |