|
libwinyl
|
Represents a HTTP response. More...
#include <winyl/request.h>
Data Fields | |
| int | error |
| Contains the error code after any winyl call. | |
| int | socket |
| Socket file descriptor. Blank if WINYL_REQUEST_GET_SOCKET is not used. | |
| int | http_version |
| HTTP version. See WINYL_HTTP_1_0 and similar. | |
| int | status |
| HTTP status. | |
| char * | status_text |
| HTTP status text. | |
| struct winyl_header * | headers |
| Header collection; see header.h. | |
| int | headers_count |
| Header count. | |
| char * | body |
| Response body. | |