diff options
Diffstat (limited to 'include/libhttpc.h')
| -rw-r--r-- | include/libhttpc.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/libhttpc.h b/include/libhttpc.h index 241fac0..35f1cca 100644 --- a/include/libhttpc.h +++ b/include/libhttpc.h @@ -280,7 +280,12 @@ int LibHTTPC_Request_(struct LibHTTPC_Request *request); #ifdef LibHTTPC_SOCK /** - * Not implemented yet + * Read request from sockfd + * @param sockfd From where to read request + * @param[out] request_buf Where to save request. Can be NULL, then library will allocate it itself + * @param[out] buf Where to save received data, can't be NULL. + * @param buf_len Length of buffer, must be greater than 0 + * @return Pointer to request on success, NULL otherwise */ struct LibHTTPC_Request *LibHTTPC_readRequest( int sockfd, |