|
libsparklepaw
PawSD library
|
Response tagged union (varies on the associated request verb and status). More...
#include <libsparklepaw/request.h>
Data Fields | |
| enum sprkl_request_verb | verb |
| Union tag, original request verb. | |
| enum sprkl_response_status | status |
| Also union tag, status code. | |
| uint16_t | errmsgsz |
| Length of the error message (optional). | |
| uint8_t * | errmsg |
| Error message (optional; UTF-8, no terminator). | |
| union { | |
| struct sprkl_response_echo echo | |
| struct sprkl_response_fetchservice fetchsvc | |
| }; | |
Response tagged union (varies on the associated request verb and status).