update rest handler to support id parameter
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-01-13 23:29:29 +01:00
parent d7274d4a8d
commit 887854150b
3 changed files with 49 additions and 5 deletions

View File

@@ -125,6 +125,7 @@ struct restd_conn_s
void *userdata[2]; /*!< userdata[0] for end user, userdata[1] for extra */
restd_userdata_free_cb userdata_free_cb[2]; /*!< callback to release user data */
char *method; /*!< request method. set by protocol handler */
int id;
};
/*