This commit is contained in:
@@ -77,7 +77,7 @@ typedef struct restd_http_s restd_http_t;
|
||||
#define RESTD_HOOK_ON_BODY (1 << 4) /*!< call on every time body data received */
|
||||
#define RESTD_HOOK_ON_REQUEST (1 << 5) /*!< call with complete request */
|
||||
#define RESTD_HOOK_ON_CLOSE (1 << 6) /*!< call right before closing or next request */
|
||||
|
||||
#if 0
|
||||
enum restd_http_request_status_e
|
||||
{
|
||||
RESTD_HTTP_REQ_INIT = 0, /*!< initial state */
|
||||
@@ -87,7 +87,7 @@ enum restd_http_request_status_e
|
||||
|
||||
RESTD_HTTP_ERROR, /*!< unrecoverable error found. */
|
||||
};
|
||||
|
||||
#endif
|
||||
/*----------------------------------------------------------------------------*\
|
||||
| PUBLIC FUNCTIONS |
|
||||
\*----------------------------------------------------------------------------*/
|
||||
|
||||
Reference in New Issue
Block a user